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
56ec2351
Commit
56ec2351
authored
Nov 24, 2003
by
pem@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/usr/local/bk/mysql-5.0
into mysql.com:/home/pem/work/mysql-5.0
parents
09f2d912
47f9c294
Changes
27
Show whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
29 additions
and
29 deletions
+29
-29
include/mysqld_error.h
include/mysqld_error.h
+1
-1
include/sql_state.h
include/sql_state.h
+2
-2
mysql-test/r/sp-error.result
mysql-test/r/sp-error.result
+2
-2
sql/share/czech/errmsg.txt
sql/share/czech/errmsg.txt
+1
-1
sql/share/danish/errmsg.txt
sql/share/danish/errmsg.txt
+1
-1
sql/share/dutch/errmsg.txt
sql/share/dutch/errmsg.txt
+1
-1
sql/share/english/errmsg.txt
sql/share/english/errmsg.txt
+1
-1
sql/share/estonian/errmsg.txt
sql/share/estonian/errmsg.txt
+1
-1
sql/share/french/errmsg.txt
sql/share/french/errmsg.txt
+1
-1
sql/share/german/errmsg.txt
sql/share/german/errmsg.txt
+1
-1
sql/share/greek/errmsg.txt
sql/share/greek/errmsg.txt
+1
-1
sql/share/hungarian/errmsg.txt
sql/share/hungarian/errmsg.txt
+1
-1
sql/share/italian/errmsg.txt
sql/share/italian/errmsg.txt
+1
-1
sql/share/japanese/errmsg.txt
sql/share/japanese/errmsg.txt
+1
-1
sql/share/korean/errmsg.txt
sql/share/korean/errmsg.txt
+1
-1
sql/share/norwegian-ny/errmsg.txt
sql/share/norwegian-ny/errmsg.txt
+1
-1
sql/share/norwegian/errmsg.txt
sql/share/norwegian/errmsg.txt
+1
-1
sql/share/polish/errmsg.txt
sql/share/polish/errmsg.txt
+1
-1
sql/share/portuguese/errmsg.txt
sql/share/portuguese/errmsg.txt
+1
-1
sql/share/romanian/errmsg.txt
sql/share/romanian/errmsg.txt
+1
-1
sql/share/russian/errmsg.txt
sql/share/russian/errmsg.txt
+1
-1
sql/share/serbian/errmsg.txt
sql/share/serbian/errmsg.txt
+1
-1
sql/share/slovak/errmsg.txt
sql/share/slovak/errmsg.txt
+1
-1
sql/share/spanish/errmsg.txt
sql/share/spanish/errmsg.txt
+1
-1
sql/share/swedish/errmsg.txt
sql/share/swedish/errmsg.txt
+1
-1
sql/share/ukrainian/errmsg.txt
sql/share/ukrainian/errmsg.txt
+1
-1
sql/sql_yacc.yy
sql/sql_yacc.yy
+1
-1
No files found.
include/mysqld_error.h
View file @
56ec2351
...
...
@@ -312,7 +312,7 @@
#define ER_SP_UNINIT_VAR 1292
#define ER_SP_BADSELECT 1293
#define ER_SP_BADRETURN 1294
#define ER_SP_BAD
QUERY
1295
#define ER_SP_BAD
STATEMENT
1295
#define ER_UPDATE_LOG_DEPRECATED_IGNORED 1296
#define ER_UPDATE_LOG_DEPRECATED_TRANSLATED 1297
#define ER_QUERY_INTERRUPTED 1298
...
...
include/sql_state.h
View file @
56ec2351
...
...
@@ -171,9 +171,9 @@ ER_SP_LILABEL_MISMATCH, "42000", "",
ER_SP_LABEL_REDEFINE
,
"42000"
,
""
,
ER_SP_LABEL_MISMATCH
,
"42000"
,
""
,
ER_SP_UNINIT_VAR
,
"01000"
,
""
,
ER_SP_BADSELECT
,
"0
4
000"
,
""
,
ER_SP_BADSELECT
,
"0
A
000"
,
""
,
ER_SP_BADRETURN
,
"42000"
,
""
,
ER_SP_BAD
QUERY
,
"04
000"
,
""
,
ER_SP_BAD
STATEMENT
,
"0A
000"
,
""
,
ER_UPDATE_LOG_DEPRECATED_IGNORED
,
"42000"
,
""
,
ER_UPDATE_LOG_DEPRECATED_TRANSLATED
,
"42000"
,
""
,
ER_QUERY_INTERRUPTED
,
"70100"
,
""
,
...
...
mysql-test/r/sp-error.result
View file @
56ec2351
...
...
@@ -79,7 +79,7 @@ select name from mysql.proc;
select type from mysql.proc;
end;
call foo();
ERROR 0
4
000: SELECT in a stored procedure must have INTO
ERROR 0
A
000: SELECT in a stored procedure must have INTO
drop procedure foo;
create procedure foo()
return 42;
...
...
@@ -90,7 +90,7 @@ declare x int;
select max(c) into x from test.t;
return x;
end;
ERROR 0
4000: Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION
ERROR 0
A000: Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION
create procedure p(x int)
insert into test.t1 values (x);
create function f(x int) returns int
...
...
sql/share/czech/errmsg.txt
View file @
56ec2351
...
...
@@ -307,7 +307,7 @@ character-set=latin2
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/danish/errmsg.txt
View file @
56ec2351
...
...
@@ -301,7 +301,7 @@ character-set=latin1
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/dutch/errmsg.txt
View file @
56ec2351
...
...
@@ -309,7 +309,7 @@ character-set=latin1
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/english/errmsg.txt
View file @
56ec2351
...
...
@@ -298,7 +298,7 @@ character-set=latin1
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/estonian/errmsg.txt
View file @
56ec2351
...
...
@@ -303,7 +303,7 @@ character-set=latin7
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/french/errmsg.txt
View file @
56ec2351
...
...
@@ -298,7 +298,7 @@ character-set=latin1
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/german/errmsg.txt
View file @
56ec2351
...
...
@@ -310,7 +310,7 @@ character-set=latin1
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/greek/errmsg.txt
View file @
56ec2351
...
...
@@ -298,7 +298,7 @@ character-set=greek
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/hungarian/errmsg.txt
View file @
56ec2351
...
...
@@ -300,7 +300,7 @@ character-set=latin2
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/italian/errmsg.txt
View file @
56ec2351
...
...
@@ -298,7 +298,7 @@ character-set=latin1
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/japanese/errmsg.txt
View file @
56ec2351
...
...
@@ -300,7 +300,7 @@ character-set=ujis
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/korean/errmsg.txt
View file @
56ec2351
...
...
@@ -298,7 +298,7 @@ character-set=euckr
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/norwegian-ny/errmsg.txt
View file @
56ec2351
...
...
@@ -300,7 +300,7 @@ character-set=latin1
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/norwegian/errmsg.txt
View file @
56ec2351
...
...
@@ -300,7 +300,7 @@ character-set=latin1
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/polish/errmsg.txt
View file @
56ec2351
...
...
@@ -302,7 +302,7 @@ character-set=latin2
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/portuguese/errmsg.txt
View file @
56ec2351
...
...
@@ -299,7 +299,7 @@ character-set=latin1
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/romanian/errmsg.txt
View file @
56ec2351
...
...
@@ -302,7 +302,7 @@ character-set=latin2
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/russian/errmsg.txt
View file @
56ec2351
...
...
@@ -300,7 +300,7 @@ character-set=koi8r
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/serbian/errmsg.txt
View file @
56ec2351
...
...
@@ -293,7 +293,7 @@ character-set=cp1250
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/slovak/errmsg.txt
View file @
56ec2351
...
...
@@ -306,7 +306,7 @@ character-set=latin2
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/spanish/errmsg.txt
View file @
56ec2351
...
...
@@ -300,7 +300,7 @@ character-set=latin1
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/swedish/errmsg.txt
View file @
56ec2351
...
...
@@ -298,7 +298,7 @@ character-set=latin1
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/share/ukrainian/errmsg.txt
View file @
56ec2351
...
...
@@ -303,7 +303,7 @@ character-set=koi8u
"Referring to uninitialized variable %s"
"SELECT in a stored procedure must have INTO"
"RETURN is only allowed in a FUNCTION"
"
Queries, like SELECT, INSERT, UPDATE (and others),
are not allowed in a FUNCTION"
"
Statements like SELECT, INSERT, UPDATE (and others)
are not allowed in a FUNCTION"
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored."
"The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN."
"Query execution was interrupted"
...
...
sql/sql_yacc.yy
View file @
56ec2351
...
...
@@ -1523,7 +1523,7 @@ sp_proc_stmt:
if (lex->sphead->m_type == TYPE_ENUM_FUNCTION &&
lex->sql_command != SQLCOM_SET_OPTION)
{
send_error(YYTHD, ER_SP_BAD
QUERY
);
send_error(YYTHD, ER_SP_BAD
STATEMENT
);
YYABORT;
}
else
...
...
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