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
181459d4
Commit
181459d4
authored
Nov 02, 2006
by
malff/marcsql@weblab.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post merge fix
parent
48a87f8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
mysql-test/r/ps.result
mysql-test/r/ps.result
+4
-2
mysql-test/t/ps.test
mysql-test/t/ps.test
+4
-2
No files found.
mysql-test/r/ps.result
View file @
181459d4
...
...
@@ -502,7 +502,8 @@ deallocate prepare stmt;
create table t1 (a varchar(20));
insert into t1 values ('foo');
prepare stmt FROM 'SELECT char_length (a) FROM t1';
ERROR 42000: FUNCTION test.char_length does not exist
prepare stmt2 FROM 'SELECT not_a_function (a) FROM t1';
ERROR 42000: FUNCTION test.not_a_function does not exist
drop table t1;
prepare stmt from "SELECT SQL_CALC_FOUND_ROWS 'foo' UNION SELECT 'bar' LIMIT 0";
execute stmt;
...
...
@@ -1056,7 +1057,8 @@ End of 4.1 tests.
create table t1 (a varchar(20));
insert into t1 values ('foo');
prepare stmt FROM 'SELECT char_length (a) FROM t1';
ERROR 42000: FUNCTION test.char_length does not exist
prepare stmt2 FROM 'SELECT not_a_function (a) FROM t1';
ERROR 42000: FUNCTION test.not_a_function does not exist
drop table t1;
create table t1 (a char(3) not null, b char(3) not null,
c char(3) not null, primary key (a, b, c));
...
...
mysql-test/t/ps.test
View file @
181459d4
...
...
@@ -523,8 +523,9 @@ deallocate prepare stmt;
#
create
table
t1
(
a
varchar
(
20
));
insert
into
t1
values
(
'foo'
);
--
error
1305
prepare
stmt
FROM
'SELECT char_length (a) FROM t1'
;
--
error
ER_SP_DOES_NOT_EXIST
prepare
stmt2
FROM
'SELECT not_a_function (a) FROM t1'
;
drop
table
t1
;
#
...
...
@@ -1126,8 +1127,9 @@ DROP TABLE t1;
#
create
table
t1
(
a
varchar
(
20
));
insert
into
t1
values
(
'foo'
);
--
error
1305
prepare
stmt
FROM
'SELECT char_length (a) FROM t1'
;
--
error
ER_SP_DOES_NOT_EXIST
prepare
stmt2
FROM
'SELECT not_a_function (a) FROM t1'
;
drop
table
t1
;
#
...
...
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