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
dbd125fd
Commit
dbd125fd
authored
Apr 04, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG 27513: fixed left-over sql mode from a test case.
parent
7bf304a6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
mysql-test/r/errors.result
mysql-test/r/errors.result
+1
-6
mysql-test/t/errors.test
mysql-test/t/errors.test
+1
-0
No files found.
mysql-test/r/errors.result
View file @
dbd125fd
...
...
@@ -28,21 +28,16 @@ ERROR 42000: Display width out of range for column 'a' (max = 255)
set sql_mode='traditional';
create table t1 (a varchar(66000));
ERROR 42000: Column length too big for column 'a' (max = 65535); use BLOB or TEXT instead
set sql_mode=default;
CREATE TABLE t1 (a INT);
SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0)));
a
Warnings:
Error 1365 Division by 0
INSERT INTO t1 VALUES(1);
SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0)));
a
1
Warnings:
Error 1365 Division by 0
INSERT INTO t1 VALUES(2),(3);
SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0)));
a
1
Warnings:
Error 1365 Division by 0
DROP TABLE t1;
mysql-test/t/errors.test
View file @
dbd125fd
...
...
@@ -40,6 +40,7 @@ create table t1 (a int(256));
set
sql_mode
=
'traditional'
;
--
error
1074
create
table
t1
(
a
varchar
(
66000
));
set
sql_mode
=
default
;
#
# Bug #27513: mysql 5.0.x + NULL pointer DoS
...
...
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