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
d10de8e7
Commit
d10de8e7
authored
Mar 29, 2007
by
tomas@whalegate.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
parents
ca5f4f46
5f1abd8c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
mysql-test/r/ndb_single_user.result
mysql-test/r/ndb_single_user.result
+3
-0
mysql-test/t/ndb_single_user.test
mysql-test/t/ndb_single_user.test
+12
-0
No files found.
mysql-test/r/ndb_single_user.result
View file @
d10de8e7
...
...
@@ -53,4 +53,7 @@ update t1 set b=b+100 where a=4;
ERROR HY000: Got error 299 'Operation not allowed or aborted due to single user mode' from NDBCLUSTER
COMMIT;
ERROR HY000: Got error 4350 'Transaction already aborted' from NDBCLUSTER
create table t2 (a int) engine myisam;
alter table t2 add column (b int);
drop table t2;
drop table t1;
mysql-test/t/ndb_single_user.test
View file @
d10de8e7
...
...
@@ -97,9 +97,21 @@ update t1 set b=b+100 where a=4;
--
error
1296
COMMIT
;
# Bug #25275 SINGLE USER MODE prevents ALTER on non-ndb
# tables for other mysqld nodes
--
connection
server2
create
table
t2
(
a
int
)
engine
myisam
;
alter
table
t2
add
column
(
b
int
);
# exit single user mode
--
exec
$NDB_MGM
--
no
-
defaults
--
ndb
-
connectstring
=
"localhost:
$NDBCLUSTER_PORT
"
-
e
"exit single user mode"
>>
$NDB_TOOLS_OUTPUT
--
exec
$NDB_TOOLS_DIR
/
ndb_waiter
--
no
-
defaults
>>
$NDB_TOOLS_OUTPUT
# cleanup
--
connection
server2
drop
table
t2
;
--
connection
server1
drop
table
t1
;
# End of 5.0 tests
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