Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
88776a82
Commit
88776a82
authored
Nov 21, 2005
by
patg@krsna.patg.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG #14524
Post-review fixes to original changeset
http://lists.mysql.com/internals/32422
parent
f6cd0148
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
11 deletions
+6
-11
BUILD/SETUP.sh
BUILD/SETUP.sh
+1
-1
mysql-test/r/partition.result
mysql-test/r/partition.result
+1
-3
mysql-test/t/partition.test
mysql-test/t/partition.test
+3
-3
sql/ha_partition.cc
sql/ha_partition.cc
+1
-4
No files found.
BUILD/SETUP.sh
View file @
88776a82
...
...
@@ -57,7 +57,7 @@ global_warnings="-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wch
c_warnings
=
"
$global_warnings
-Wunused"
cxx_warnings
=
"
$global_warnings
-Woverloaded-virtual -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor"
base_max_configs
=
"--with-innodb --with-berkeley-db --with-ndbcluster --with-archive-storage-engine --with-big-tables --with-blackhole-storage-engine --with-federated-storage-engine --with-csv-storage-engine --with-partition
$SSL_LIBRARY
"
base_max_no_ndb_configs
=
"--with-innodb --with-berkeley-db --without-ndbcluster --with-archive-storage-engine --with-big-tables --with-blackhole-storage-engine --with-federated-storage-engine --with-csv-storage-engine
$SSL_LIBRARY
"
base_max_no_ndb_configs
=
"--with-innodb --with-berkeley-db --without-ndbcluster --with-archive-storage-engine --with-big-tables --with-blackhole-storage-engine --with-federated-storage-engine --with-csv-storage-engine
--with-partition
$SSL_LIBRARY
"
max_leave_isam_configs
=
"--with-innodb --with-berkeley-db --with-ndbcluster --with-archive-storage-engine --with-federated-storage-engine --with-blackhole-storage-engine --with-csv-storage-engine --with-embedded-server --with-big-tables --with-partition
$SSL_LIBRARY
"
max_configs
=
"
$base_max_configs
--with-embedded-server"
max_no_ndb_configs
=
"
$base_max_no_ndb_configs
--with-embedded-server"
...
...
mysql-test/r/partition.result
View file @
88776a82
...
...
@@ -108,11 +108,9 @@ insert into t1 values (3);
insert into t1 values (4);
UNLOCK TABLES;
drop table t1;
DROP TABLE IF EXISTS `t1`;
Warnings:
Note 1051 Unknown table 't1'
CREATE TABLE `t1` (
`id` int(11) default NULL
) ENGINE=BLACKHOLE DEFAULT CHARSET=latin1 PARTITION BY HASH (id) ;
SELECT * FROM t1;
id
drop table t1;
mysql-test/t/partition.test
View file @
88776a82
...
...
@@ -165,10 +165,10 @@ drop table t1;
#
# BUG 14524
#
--
disable
-
warnings
DROP
TABLE
IF
EXISTS
`t1`
;
--
enable
-
warnings
CREATE
TABLE
`t1`
(
`id`
int
(
11
)
default
NULL
)
ENGINE
=
BLACKHOLE
DEFAULT
CHARSET
=
latin1
PARTITION
BY
HASH
(
id
)
;
SELECT
*
FROM
t1
;
drop
table
t1
;
sql/ha_partition.cc
View file @
88776a82
...
...
@@ -1103,10 +1103,7 @@ int ha_partition::start_stmt(THD *thd, thr_lock_type lock_type)
uint
ha_partition
::
lock_count
()
const
{
DBUG_ENTER
(
"ha_partition::lock_count"
);
if
(
m_no_locks
==
0
)
DBUG_RETURN
(
0
);
DBUG_RETURN
(
m_tot_parts
);
DBUG_RETURN
(
m_no_locks
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment