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
f6f7eb85
Commit
f6f7eb85
authored
Aug 10, 2006
by
cmiller@zippy.cornsilk.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge updates.
parent
364dfae6
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
75 deletions
+26
-75
mysql-test/r/bug20328.result
mysql-test/r/bug20328.result
+0
-44
mysql-test/r/grant2.result
mysql-test/r/grant2.result
+2
-2
mysql-test/r/heap_btree.result
mysql-test/r/heap_btree.result
+10
-10
mysql-test/r/mysql_client.result
mysql-test/r/mysql_client.result
+8
-4
mysql-test/t/bug20328.test
mysql-test/t/bug20328.test
+0
-9
mysql-test/t/heap_btree.test
mysql-test/t/heap_btree.test
+6
-6
No files found.
mysql-test/r/bug20328.result
deleted
100644 → 0
View file @
364dfae6
? (\?) Synonym for `help'.
clear (\c) Clear command.
connect (\r) Reconnect to the server. Optional arguments are db and host.
delimiter (\d) Set query delimiter.
edit (\e) Edit command with $EDITOR.
ego (\G) Send command to mysql server, display result vertically.
exit (\q) Exit mysql. Same as quit.
go (\g) Send command to mysql server.
help (\h) Display this help.
nopager (\n) Disable pager, print to stdout.
notee (\t) Don't write into outfile.
pager (\P) Set PAGER [to_pager]. Print the query results via PAGER.
print (\p) Print current command.
prompt (\R) Change your mysql prompt.
quit (\q) Quit mysql.
rehash (\#) Rebuild completion hash.
source (\.) Execute an SQL script file. Takes a file name as an argument.
status (\s) Get status information from the server.
system (\!) Execute a system shell command.
tee (\T) Set outfile [to_outfile]. Append everything into given outfile.
use (\u) Use another database. Takes database name as argument.
charset_name(\C) Switch to another charset. Might be needed for processing binlog.
? (\?) Synonym for `help'.
clear (\c) Clear command.
connect (\r) Reconnect to the server. Optional arguments are db and host.
delimiter (\d) Set query delimiter.
edit (\e) Edit command with $EDITOR.
ego (\G) Send command to mysql server, display result vertically.
exit (\q) Exit mysql. Same as quit.
go (\g) Send command to mysql server.
help (\h) Display this help.
nopager (\n) Disable pager, print to stdout.
notee (\t) Don't write into outfile.
pager (\P) Set PAGER [to_pager]. Print the query results via PAGER.
print (\p) Print current command.
prompt (\R) Change your mysql prompt.
quit (\q) Quit mysql.
rehash (\#) Rebuild completion hash.
source (\.) Execute an SQL script file. Takes a file name as an argument.
status (\s) Get status information from the server.
system (\!) Execute a system shell command.
tee (\T) Set outfile [to_outfile]. Append everything into given outfile.
use (\u) Use another database. Takes database name as argument.
charset_name(\C) Switch to another charset. Might be needed for processing binlog.
mysql-test/r/grant2.result
View file @
f6f7eb85
...
...
@@ -121,9 +121,9 @@ mysqltest_5@host5, mysqltest_6@host6, mysqltest_7@host7;
create database mysqltest_1;
grant select, insert, update on `mysqltest\_1`.* to mysqltest_1@localhost;
set sql_log_off = 1;
ERROR
HY
000: Access denied; you need the SUPER privilege for this operation
ERROR
42
000: Access denied; you need the SUPER privilege for this operation
set sql_log_bin = 0;
ERROR
HY
000: Access denied; you need the SUPER privilege for this operation
ERROR
42
000: Access denied; you need the SUPER privilege for this operation
delete from mysql.user where user like 'mysqltest\_1';
delete from mysql.db where user like 'mysqltest\_1';
drop database mysqltest_1;
...
...
mysql-test/r/heap_btree.result
View file @
f6f7eb85
...
...
@@ -248,34 +248,34 @@ a
DROP TABLE t1;
create table t1(a int not null, key using btree(a)) engine=heap;
insert into t1 values (2), (2), (2), (1), (1), (3), (3), (3), (3);
select a from t1 where a > 2;
select a from t1 where a > 2
order by a
;
a
3
3
3
3
delete from t1 where a < 4;
select a from t1;
select a from t1
order by a
;
a
insert into t1 values (2), (2), (2), (1), (1), (3), (3), (3), (3);
select a from t1 where a > 4;
select a from t1 where a > 4
order by a
;
a
delete from t1 where a > 4;
select a from t1;
select a from t1
order by a
;
a
3
3
1
3
3
1
2
2
2
select a from t1 where a > 3;
3
3
3
3
select a from t1 where a > 3 order by a;
a
delete from t1 where a >= 2;
select a from t1;
select a from t1
order by a
;
a
1
1
...
...
mysql-test/r/mysql_client.result
View file @
f6f7eb85
...
...
@@ -5,7 +5,7 @@ ERROR at line 1: USE must be followed by a database name
? (\?) Synonym for `help'.
clear (\c) Clear command.
connect (\r) Reconnect to the server. Optional arguments are db and host.
delimiter (\d) Set
query delimiter.
delimiter (\d) Set
statement delimiter. NOTE: Takes the rest of the line as new delimiter.
edit (\e) Edit command with $EDITOR.
ego (\G) Send command to mysql server, display result vertically.
exit (\q) Exit mysql. Same as quit.
...
...
@@ -23,11 +23,13 @@ status (\s) Get status information from the server.
system (\!) Execute a system shell command.
tee (\T) Set outfile [to_outfile]. Append everything into given outfile.
use (\u) Use another database. Takes database name as argument.
charset_name(\C) Switch to another charset. Might be needed for processing binlog.
charset (\C) Switch to another charset. Might be needed for processing binlog with multi-byte charsets.
warnings (\W) Show warnings after every statement.
nowarning (\w) Don't show warnings after every statement.
? (\?) Synonym for `help'.
clear (\c) Clear command.
connect (\r) Reconnect to the server. Optional arguments are db and host.
delimiter (\d) Set
query delimiter.
delimiter (\d) Set
statement delimiter. NOTE: Takes the rest of the line as new delimiter.
edit (\e) Edit command with $EDITOR.
ego (\G) Send command to mysql server, display result vertically.
exit (\q) Exit mysql. Same as quit.
...
...
@@ -45,7 +47,9 @@ status (\s) Get status information from the server.
system (\!) Execute a system shell command.
tee (\T) Set outfile [to_outfile]. Append everything into given outfile.
use (\u) Use another database. Takes database name as argument.
charset_name(\C) Switch to another charset. Might be needed for processing binlog.
charset (\C) Switch to another charset. Might be needed for processing binlog with multi-byte charsets.
warnings (\W) Show warnings after every statement.
nowarning (\w) Don't show warnings after every statement.
\
\\
';
...
...
mysql-test/t/bug20328.test
deleted
100644 → 0
View file @
364dfae6
# This test should work in embedded server after we fix mysqltest
--
source
include
/
not_embedded
.
inc
#
# Bug #20328: mysql client interprets commands in comments
#
--
exec
echo
'help'
|
$MYSQL
--
exec
echo
'help '
|
$MYSQL
mysql-test/t/heap_btree.test
View file @
f6f7eb85
...
...
@@ -170,16 +170,16 @@ DROP TABLE t1;
create
table
t1
(
a
int
not
null
,
key
using
btree
(
a
))
engine
=
heap
;
insert
into
t1
values
(
2
),
(
2
),
(
2
),
(
1
),
(
1
),
(
3
),
(
3
),
(
3
),
(
3
);
select
a
from
t1
where
a
>
2
;
select
a
from
t1
where
a
>
2
order
by
a
;
delete
from
t1
where
a
<
4
;
select
a
from
t1
;
select
a
from
t1
order
by
a
;
insert
into
t1
values
(
2
),
(
2
),
(
2
),
(
1
),
(
1
),
(
3
),
(
3
),
(
3
),
(
3
);
select
a
from
t1
where
a
>
4
;
select
a
from
t1
where
a
>
4
order
by
a
;
delete
from
t1
where
a
>
4
;
select
a
from
t1
;
select
a
from
t1
where
a
>
3
;
select
a
from
t1
order
by
a
;
select
a
from
t1
where
a
>
3
order
by
a
;
delete
from
t1
where
a
>=
2
;
select
a
from
t1
;
select
a
from
t1
order
by
a
;
drop
table
t1
;
--
echo
End
of
4.1
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