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
35a15c33
Commit
35a15c33
authored
Aug 03, 2004
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Followup: now we support few more SQL commands in prepared statements.
parent
e6758415
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
11 deletions
+0
-11
mysql-test/r/ps_1general.result
mysql-test/r/ps_1general.result
+0
-5
mysql-test/r/ps_2myisam.result
mysql-test/r/ps_2myisam.result
+0
-1
mysql-test/r/ps_3innodb.result
mysql-test/r/ps_3innodb.result
+0
-1
mysql-test/r/ps_4heap.result
mysql-test/r/ps_4heap.result
+0
-1
mysql-test/r/ps_5merge.result
mysql-test/r/ps_5merge.result
+0
-2
mysql-test/r/ps_6bdb.result
mysql-test/r/ps_6bdb.result
+0
-1
No files found.
mysql-test/r/ps_1general.result
View file @
35a15c33
...
@@ -381,9 +381,7 @@ ERROR HY000: This command is not supported in the prepared statement protocol ye
...
@@ -381,9 +381,7 @@ ERROR HY000: This command is not supported in the prepared statement protocol ye
prepare stmt1 from ' handler t1 open ';
prepare stmt1 from ' handler t1 open ';
ERROR HY000: This command is not supported in the prepared statement protocol yet
ERROR HY000: This command is not supported in the prepared statement protocol yet
prepare stmt3 from ' commit ' ;
prepare stmt3 from ' commit ' ;
ERROR HY000: This command is not supported in the prepared statement protocol yet
prepare stmt3 from ' rollback ' ;
prepare stmt3 from ' rollback ' ;
ERROR HY000: This command is not supported in the prepared statement protocol yet
prepare stmt4 from ' SET sql_mode=ansi ';
prepare stmt4 from ' SET sql_mode=ansi ';
execute stmt4;
execute stmt4;
select 'a' || 'b' ;
select 'a' || 'b' ;
...
@@ -459,11 +457,8 @@ m
...
@@ -459,11 +457,8 @@ m
1
1
drop table t3;
drop table t3;
prepare stmt3 from ' create index t2_idx on t2(b) ';
prepare stmt3 from ' create index t2_idx on t2(b) ';
ERROR HY000: This command is not supported in the prepared statement protocol yet
prepare stmt3 from ' drop index t2_idx on t2 ' ;
prepare stmt3 from ' drop index t2_idx on t2 ' ;
ERROR HY000: This command is not supported in the prepared statement protocol yet
prepare stmt3 from ' alter table t2 drop primary key ';
prepare stmt3 from ' alter table t2 drop primary key ';
ERROR HY000: This command is not supported in the prepared statement protocol yet
drop table if exists new_t2;
drop table if exists new_t2;
prepare stmt3 from ' rename table t2 to new_t2 ';
prepare stmt3 from ' rename table t2 to new_t2 ';
execute stmt3;
execute stmt3;
...
...
mysql-test/r/ps_2myisam.result
View file @
35a15c33
...
@@ -935,7 +935,6 @@ execute stmt1 using @arg00;
...
@@ -935,7 +935,6 @@ execute stmt1 using @arg00;
select a,b from t1 where b=@arg00;
select a,b from t1 where b=@arg00;
a b
a b
prepare stmt1 from 'truncate table t1' ;
prepare stmt1 from 'truncate table t1' ;
ERROR HY000: This command is not supported in the prepared statement protocol yet
test_sequence
test_sequence
------ update tests ------
------ update tests ------
delete from t1 ;
delete from t1 ;
...
...
mysql-test/r/ps_3innodb.result
View file @
35a15c33
...
@@ -935,7 +935,6 @@ execute stmt1 using @arg00;
...
@@ -935,7 +935,6 @@ execute stmt1 using @arg00;
select a,b from t1 where b=@arg00;
select a,b from t1 where b=@arg00;
a b
a b
prepare stmt1 from 'truncate table t1' ;
prepare stmt1 from 'truncate table t1' ;
ERROR HY000: This command is not supported in the prepared statement protocol yet
test_sequence
test_sequence
------ update tests ------
------ update tests ------
delete from t1 ;
delete from t1 ;
...
...
mysql-test/r/ps_4heap.result
View file @
35a15c33
...
@@ -936,7 +936,6 @@ execute stmt1 using @arg00;
...
@@ -936,7 +936,6 @@ execute stmt1 using @arg00;
select a,b from t1 where b=@arg00;
select a,b from t1 where b=@arg00;
a b
a b
prepare stmt1 from 'truncate table t1' ;
prepare stmt1 from 'truncate table t1' ;
ERROR HY000: This command is not supported in the prepared statement protocol yet
test_sequence
test_sequence
------ update tests ------
------ update tests ------
delete from t1 ;
delete from t1 ;
...
...
mysql-test/r/ps_5merge.result
View file @
35a15c33
...
@@ -978,7 +978,6 @@ execute stmt1 using @arg00;
...
@@ -978,7 +978,6 @@ execute stmt1 using @arg00;
select a,b from t1 where b=@arg00;
select a,b from t1 where b=@arg00;
a b
a b
prepare stmt1 from 'truncate table t1' ;
prepare stmt1 from 'truncate table t1' ;
ERROR HY000: This command is not supported in the prepared statement protocol yet
test_sequence
test_sequence
------ update tests ------
------ update tests ------
delete from t1 ;
delete from t1 ;
...
@@ -2171,7 +2170,6 @@ execute stmt1 using @arg00;
...
@@ -2171,7 +2170,6 @@ execute stmt1 using @arg00;
select a,b from t1 where b=@arg00;
select a,b from t1 where b=@arg00;
a b
a b
prepare stmt1 from 'truncate table t1' ;
prepare stmt1 from 'truncate table t1' ;
ERROR HY000: This command is not supported in the prepared statement protocol yet
test_sequence
test_sequence
------ update tests ------
------ update tests ------
delete from t1 ;
delete from t1 ;
...
...
mysql-test/r/ps_6bdb.result
View file @
35a15c33
...
@@ -935,7 +935,6 @@ execute stmt1 using @arg00;
...
@@ -935,7 +935,6 @@ execute stmt1 using @arg00;
select a,b from t1 where b=@arg00;
select a,b from t1 where b=@arg00;
a b
a b
prepare stmt1 from 'truncate table t1' ;
prepare stmt1 from 'truncate table t1' ;
ERROR HY000: This command is not supported in the prepared statement protocol yet
test_sequence
test_sequence
------ update tests ------
------ update tests ------
delete from t1 ;
delete from 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