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