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
264b163e
Commit
264b163e
authored
Oct 07, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
parents
ff879b93
1b991b1a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
mysql-test/r/ndb_alter_table.result
mysql-test/r/ndb_alter_table.result
+2
-0
mysql-test/t/ndb_alter_table.test
mysql-test/t/ndb_alter_table.test
+2
-0
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+3
-0
No files found.
mysql-test/r/ndb_alter_table.result
View file @
264b163e
...
@@ -116,7 +116,9 @@ select * from t1 order by a;
...
@@ -116,7 +116,9 @@ select * from t1 order by a;
a b
a b
0 1
0 1
17 18
17 18
SET SQL_MODE=NO_AUTO_VALUE_ON_ZERO;
alter table t1 modify column a int not null auto_increment;
alter table t1 modify column a int not null auto_increment;
SET SQL_MODE='';
select * from t1 order by a;
select * from t1 order by a;
a b
a b
0 1
0 1
...
...
mysql-test/t/ndb_alter_table.test
View file @
264b163e
...
@@ -95,7 +95,9 @@ CREATE TABLE t1 (
...
@@ -95,7 +95,9 @@ CREATE TABLE t1 (
INSERT
INTO
t1
VALUES
(
0
,
1
),(
17
,
18
);
INSERT
INTO
t1
VALUES
(
0
,
1
),(
17
,
18
);
select
*
from
t1
order
by
a
;
select
*
from
t1
order
by
a
;
SET
SQL_MODE
=
NO_AUTO_VALUE_ON_ZERO
;
alter
table
t1
modify
column
a
int
not
null
auto_increment
;
alter
table
t1
modify
column
a
int
not
null
auto_increment
;
SET
SQL_MODE
=
''
;
select
*
from
t1
order
by
a
;
select
*
from
t1
order
by
a
;
INSERT
INTO
t1
VALUES
(
0
,
19
),(
20
,
21
);
INSERT
INTO
t1
VALUES
(
0
,
19
),(
20
,
21
);
select
*
from
t1
order
by
a
;
select
*
from
t1
order
by
a
;
...
...
sql/ha_ndbcluster.cc
View file @
264b163e
...
@@ -2170,6 +2170,9 @@ int ha_ndbcluster::index_read(byte *buf,
...
@@ -2170,6 +2170,9 @@ int ha_ndbcluster::index_read(byte *buf,
break
;
break
;
}
}
if
(
m_active_cursor
)
close_scan
();
key_range
start_key
;
key_range
start_key
;
start_key
.
key
=
key
;
start_key
.
key
=
key
;
start_key
.
length
=
key_len
;
start_key
.
length
=
key_len
;
...
...
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