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
a3570737
Commit
a3570737
authored
Feb 25, 2009
by
Bernt M. Johnsen
Browse files
Options
Browse Files
Download
Plain Diff
Merged from gca-branch (bug 43111)
parents
89fbca28
b253edff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
mysql-test/r/ps.result
mysql-test/r/ps.result
+1
-1
mysql-test/t/ps.test
mysql-test/t/ps.test
+8
-1
No files found.
mysql-test/r/ps.result
View file @
a3570737
...
...
@@ -235,7 +235,7 @@ execute stmt1;
prepare stmt1 from "insert into t1 select i from t1";
execute stmt1;
execute stmt1;
prepare stmt1 from "select * from t1 into outfile 'f1.txt'";
prepare stmt1 from "select * from t1 into outfile '
<MYSQLTEST_VARDIR>/tmp/
f1.txt'";
execute stmt1;
deallocate prepare stmt1;
drop table t1;
...
...
mysql-test/t/ps.test
View file @
a3570737
...
...
@@ -230,6 +230,10 @@ drop table t1;
# statements or are correctly created and deleted on each execute
#
--
let
$outfile
=
$MYSQLTEST_VARDIR
/
tmp
/
f1
.
txt
--
error
0
,
1
--
remove_file
$outfile
prepare
stmt1
from
"select 1 into @var"
;
execute
stmt1
;
execute
stmt1
;
...
...
@@ -240,11 +244,14 @@ execute stmt1;
prepare
stmt1
from
"insert into t1 select i from t1"
;
execute
stmt1
;
execute
stmt1
;
prepare
stmt1
from
"select * from t1 into outfile 'f1.txt'"
;
--
replace_result
$MYSQLTEST_VARDIR
<
MYSQLTEST_VARDIR
>
eval
prepare
stmt1
from
"select * from t1 into outfile '
$outfile
'"
;
execute
stmt1
;
deallocate
prepare
stmt1
;
drop
table
t1
;
--
remove_file
$outfile
#
# BUG#5242 "Prepared statement names are case sensitive"
#
...
...
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