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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
421d2d2a
Commit
421d2d2a
authored
Sep 12, 2007
by
antony@pcg5ppc.xiphis.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
undo unneccessary change to ha_innodb.cc
remove 'drop database' from new tests.
parent
89f88eab
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
33 deletions
+12
-33
mysql-test/suite/rpl/r/rpl_innodb_bug28430.result
mysql-test/suite/rpl/r/rpl_innodb_bug28430.result
+4
-6
mysql-test/suite/rpl/r/rpl_innodb_bug30888.result
mysql-test/suite/rpl/r/rpl_innodb_bug30888.result
+0
-2
mysql-test/suite/rpl/r/rpl_innodb_bug30919.result
mysql-test/suite/rpl/r/rpl_innodb_bug30919.result
+0
-2
mysql-test/suite/rpl/t/rpl_innodb_bug28430.test
mysql-test/suite/rpl/t/rpl_innodb_bug28430.test
+2
-6
mysql-test/suite/rpl/t/rpl_innodb_bug30888.test
mysql-test/suite/rpl/t/rpl_innodb_bug30888.test
+2
-6
mysql-test/suite/rpl/t/rpl_innodb_bug30919.test
mysql-test/suite/rpl/t/rpl_innodb_bug30919.test
+2
-4
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+2
-7
No files found.
mysql-test/suite/rpl/r/rpl_innodb_bug28430.result
View file @
421d2d2a
...
@@ -4,8 +4,6 @@ reset master;
...
@@ -4,8 +4,6 @@ reset master;
reset slave;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
start slave;
DROP DATABASE IF EXISTS test;
CREATE DATABASE test;
use test;
use test;
CREATE TABLE test.regular_tbl(id MEDIUMINT NOT NULL AUTO_INCREMENT,
CREATE TABLE test.regular_tbl(id MEDIUMINT NOT NULL AUTO_INCREMENT,
dt TIMESTAMP, user CHAR(255), uuidf LONGBLOB,
dt TIMESTAMP, user CHAR(255), uuidf LONGBLOB,
...
@@ -123,9 +121,9 @@ Master_User root
...
@@ -123,9 +121,9 @@ Master_User root
Master_Port 12000
Master_Port 12000
Connect_Retry 1
Connect_Retry 1
Master_Log_File master-bin.000001
Master_Log_File master-bin.000001
Read_Master_Log_Pos 945
644
Read_Master_Log_Pos 945
470
Relay_Log_File slave-relay-bin.000003
Relay_Log_File slave-relay-bin.000003
Relay_Log_Pos 945
790
Relay_Log_Pos 945
616
Relay_Master_Log_File master-bin.000001
Relay_Master_Log_File master-bin.000001
Slave_IO_Running Yes
Slave_IO_Running Yes
Slave_SQL_Running Yes
Slave_SQL_Running Yes
...
@@ -138,8 +136,8 @@ Replicate_Wild_Ignore_Table
...
@@ -138,8 +136,8 @@ Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Errno 0
Last_Error
Last_Error
Skip_Counter 0
Skip_Counter 0
Exec_Master_Log_Pos 945
644
Exec_Master_Log_Pos 945
470
Relay_Log_Space 945
945
Relay_Log_Space 945
771
Until_Condition None
Until_Condition None
Until_Log_File
Until_Log_File
Until_Log_Pos 0
Until_Log_Pos 0
...
...
mysql-test/suite/rpl/r/rpl_innodb_bug30888.result
View file @
421d2d2a
...
@@ -4,8 +4,6 @@ reset master;
...
@@ -4,8 +4,6 @@ reset master;
reset slave;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
start slave;
DROP DATABASE IF EXISTS test;
CREATE DATABASE test;
use test;
use test;
CREATE TABLE test.regular_tbl(id MEDIUMINT NOT NULL AUTO_INCREMENT,
CREATE TABLE test.regular_tbl(id MEDIUMINT NOT NULL AUTO_INCREMENT,
dt TIMESTAMP, user CHAR(255), uuidf LONGBLOB,
dt TIMESTAMP, user CHAR(255), uuidf LONGBLOB,
...
...
mysql-test/suite/rpl/r/rpl_innodb_bug30919.result
View file @
421d2d2a
DROP DATABASE IF EXISTS test;
CREATE DATABASE test;
use test;
use test;
CREATE TABLE test.part_tbl(id MEDIUMINT NOT NULL AUTO_INCREMENT,
CREATE TABLE test.part_tbl(id MEDIUMINT NOT NULL AUTO_INCREMENT,
dt TIMESTAMP, user CHAR(255), uuidf LONGBLOB,
dt TIMESTAMP, user CHAR(255), uuidf LONGBLOB,
...
...
mysql-test/suite/rpl/t/rpl_innodb_bug28430.test
View file @
421d2d2a
...
@@ -7,12 +7,6 @@
...
@@ -7,12 +7,6 @@
let
$engine_type
=
'innodb'
;
let
$engine_type
=
'innodb'
;
###### CLEAN UP SECTION ##############
DROP
DATABASE
IF
EXISTS
test
;
CREATE
DATABASE
test
;
######## Creat Table Section #########
######## Creat Table Section #########
use
test
;
use
test
;
...
@@ -145,6 +139,8 @@ SELECT count(*) "Slave norm" FROM test.regular_tbl;
...
@@ -145,6 +139,8 @@ SELECT count(*) "Slave norm" FROM test.regular_tbl;
SELECT
count
(
*
)
"Slave bykey"
FROM
test
.
bykey_tbl
;
SELECT
count
(
*
)
"Slave bykey"
FROM
test
.
bykey_tbl
;
SELECT
count
(
*
)
"Slave byrange"
FROM
test
.
byrange_tbl
;
SELECT
count
(
*
)
"Slave byrange"
FROM
test
.
byrange_tbl
;
###### CLEAN UP SECTION ##############
connection
master
;
connection
master
;
DROP
PROCEDURE
test
.
proc_norm
;
DROP
PROCEDURE
test
.
proc_norm
;
DROP
PROCEDURE
test
.
proc_bykey
;
DROP
PROCEDURE
test
.
proc_bykey
;
...
...
mysql-test/suite/rpl/t/rpl_innodb_bug30888.test
View file @
421d2d2a
...
@@ -8,12 +8,6 @@
...
@@ -8,12 +8,6 @@
#let $engine_type= 'myisam';
#let $engine_type= 'myisam';
let
$engine_type
=
'innodb'
;
let
$engine_type
=
'innodb'
;
###### CLEAN UP SECTION ##############
DROP
DATABASE
IF
EXISTS
test
;
CREATE
DATABASE
test
;
######## Creat Table Section #########
######## Creat Table Section #########
use
test
;
use
test
;
...
@@ -61,6 +55,8 @@ CALL test.proc_norm();
...
@@ -61,6 +55,8 @@ CALL test.proc_norm();
--
sync_slave_with_master
--
sync_slave_with_master
###### CLEAN UP SECTION ##############
connection
master
;
connection
master
;
DROP
PROCEDURE
test
.
proc_norm
;
DROP
PROCEDURE
test
.
proc_norm
;
DROP
TABLE
test
.
regular_tbl
;
DROP
TABLE
test
.
regular_tbl
;
...
...
mysql-test/suite/rpl/t/rpl_innodb_bug30919.test
View file @
421d2d2a
...
@@ -2,10 +2,6 @@
...
@@ -2,10 +2,6 @@
--
vertical_results
--
vertical_results
let
$engine_type
=
'innodb'
;
let
$engine_type
=
'innodb'
;
###### CLEAN UP SECTION ##############
DROP
DATABASE
IF
EXISTS
test
;
CREATE
DATABASE
test
;
######## Creat Table Section #########
######## Creat Table Section #########
use
test
;
use
test
;
...
@@ -64,6 +60,8 @@ CALL test.proc_part();
...
@@ -64,6 +60,8 @@ CALL test.proc_part();
select
count
(
*
)
as
Part
from
test
.
part_tbl
;
select
count
(
*
)
as
Part
from
test
.
part_tbl
;
###### CLEAN UP SECTION ##############
DROP
PROCEDURE
test
.
proc_part
;
DROP
PROCEDURE
test
.
proc_part
;
DROP
TABLE
test
.
part_tbl
;
DROP
TABLE
test
.
part_tbl
;
storage/innobase/handler/ha_innodb.cc
View file @
421d2d2a
...
@@ -7130,7 +7130,6 @@ ha_innobase::innobase_read_and_init_auto_inc(
...
@@ -7130,7 +7130,6 @@ ha_innobase::innobase_read_and_init_auto_inc(
int
mysql_error
=
0
;
int
mysql_error
=
0
;
dict_table_t
*
innodb_table
=
prebuilt
->
table
;
dict_table_t
*
innodb_table
=
prebuilt
->
table
;
ibool
trx_was_not_started
=
FALSE
;
ibool
trx_was_not_started
=
FALSE
;
ulint
error
;
ut_a
(
prebuilt
);
ut_a
(
prebuilt
);
ut_a
(
prebuilt
->
table
);
ut_a
(
prebuilt
->
table
);
...
@@ -7151,11 +7150,7 @@ ha_innobase::innobase_read_and_init_auto_inc(
...
@@ -7151,11 +7150,7 @@ ha_innobase::innobase_read_and_init_auto_inc(
trx_search_latch_release_if_reserved
(
prebuilt
->
trx
);
trx_search_latch_release_if_reserved
(
prebuilt
->
trx
);
error
=
innobase_autoinc_lock
();
dict_table_autoinc_lock
(
prebuilt
->
table
);
if
(
error
!=
DB_SUCCESS
)
{
mysql_error
=
1
;
goto
err
;
}
auto_inc
=
dict_table_autoinc_read
(
prebuilt
->
table
);
auto_inc
=
dict_table_autoinc_read
(
prebuilt
->
table
);
...
@@ -7168,6 +7163,7 @@ ha_innobase::innobase_read_and_init_auto_inc(
...
@@ -7168,6 +7163,7 @@ ha_innobase::innobase_read_and_init_auto_inc(
if
(
auto_inc
==
0
)
{
if
(
auto_inc
==
0
)
{
dict_index_t
*
index
;
dict_index_t
*
index
;
ulint
error
;
const
char
*
autoinc_col_name
;
const
char
*
autoinc_col_name
;
ut_a
(
!
innodb_table
->
autoinc_inited
);
ut_a
(
!
innodb_table
->
autoinc_inited
);
...
@@ -7195,7 +7191,6 @@ ha_innobase::innobase_read_and_init_auto_inc(
...
@@ -7195,7 +7191,6 @@ ha_innobase::innobase_read_and_init_auto_inc(
dict_table_autoinc_unlock
(
prebuilt
->
table
);
dict_table_autoinc_unlock
(
prebuilt
->
table
);
err:
/* Since MySQL does not seem to call autocommit after SHOW TABLE
/* Since MySQL does not seem to call autocommit after SHOW TABLE
STATUS (even if we would register the trx here), we commit our
STATUS (even if we would register the trx here), we commit our
transaction here if it was started here. This is to eliminate a
transaction here if it was started here. This is to eliminate a
...
...
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