1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-18 07:48:43 +03:00
Files
mariadb/sql
unknown c9232c60e2 Various bug fixes:
- Duplicate parameters/variables, conditions and cursors (not allowed).
  - ITERATE in labelled BEGIN-END (not allowed).
  - Missing SQLSTATE [VALUE] keywords in CONDITION/HANDLER declaration (added).
  - Empty BEGIN-END (now allowed).
  - End label (now optional).


include/mysqld_error.h:
  New error code for duplicate things (vars et al) in SPs.
mysql-test/r/sp-error.result:
  New error tests for ITERATE in begin-end block and duplicate variables,
  conditions and cursors.
mysql-test/r/sp.result:
  New tests for empty begin-end blocks, overriding local variables outside scope
  only, leave a begin-end block, and SQLSTATE [VALUE] words for CONDITION/HANDLER
  declarations.
mysql-test/t/sp-error.test:
  New error tests for ITERATE in begin-end block and duplicate variables,
  conditions and cursors.
mysql-test/t/sp.test:
  New tests for empty begin-end blocks, overriding local variables outside scope
  only, leave a begin-end block, and SQLSTATE [VALUE] words for CONDITION/HANDLER
  declarations.
sql/lex.h:
  New SQLSTATE keyword.
sql/share/czech/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/danish/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/dutch/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/english/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/estonian/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/french/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/german/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/greek/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/hungarian/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/italian/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/japanese/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/korean/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/norwegian-ny/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/norwegian/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/polish/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/portuguese/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/romanian/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/russian/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/serbian/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/slovak/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/spanish/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/swedish/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/share/ukrainian/errmsg.txt:
  New error message for duplicate things (vars et al) in SPs.
sql/sp_pcontext.cc:
  Keep track on scope limits for error checking of duplicate variables,
  conditions and cursors.
sql/sp_pcontext.h:
  Keep track on scope limits for error checking of duplicate variables,
  conditions and cursors.
  Also need to flag BEGIN labels to check for illegal ITERATEs.
sql/sql_yacc.yy:
  End-labels in SPs loop and begin-end blocks are now optional.
  SQLSTATE [VALUE] added to syntax for sqlstates.
  Check for duplicate variable, condition and cursor declarations, but
  only in the same scope.
  Empty BEGIN-END statements now allowed.
  Check if ITERATE is referring to a BEGIN label.
2003-11-13 19:34:56 +01:00
..
2003-11-13 19:34:56 +01:00
2003-09-19 14:05:28 +05:00
2003-10-07 15:42:26 +03:00
2003-10-20 13:45:28 +05:00
2003-09-11 19:06:23 +03:00
2003-09-24 11:29:38 +02:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-10-13 11:20:19 +03:00
2003-10-22 16:10:22 +02:00
2003-08-05 21:14:15 +02:00
2003-08-19 00:08:08 +03:00
2003-09-19 14:44:31 +05:00
2003-10-22 16:10:22 +02:00
2003-10-06 20:55:06 +03:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-10-06 22:35:05 +03:00
2003-07-02 13:12:18 +03:00
2003-10-23 16:06:51 +02:00
2003-10-22 16:10:22 +02:00
2003-08-29 13:44:35 +03:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-11-13 19:34:56 +01:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-08-29 13:44:35 +03:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-09-24 10:24:56 +03:00
2003-06-19 12:38:14 -04:00
2003-10-15 22:40:36 +03:00
2003-05-21 21:39:58 +03:00
2003-09-03 16:31:01 +02:00
2003-10-22 16:10:22 +02:00
2003-09-24 11:29:38 +02:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-10-20 13:45:28 +05:00
2003-10-23 16:06:51 +02:00
2003-10-09 00:06:21 +02:00
2003-10-21 18:13:14 +02:00
2003-10-21 18:13:14 +02:00
2003-11-13 19:34:56 +01:00
2003-11-13 19:34:56 +01:00
2003-10-22 16:10:22 +02:00
2003-09-26 15:33:13 +05:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-07-14 16:38:51 +05:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-07-08 17:50:23 +02:00
2003-10-16 03:08:40 +03:00
2003-10-15 22:40:36 +03:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-08-11 22:44:43 +03:00
2003-10-22 16:10:22 +02:00
2003-10-23 16:06:51 +02:00
2003-10-22 16:10:22 +02:00
2003-07-14 10:12:05 +03:00
2003-10-22 16:10:22 +02:00
2003-08-26 11:51:09 +02:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-07-08 15:06:05 +05:00
2003-10-23 16:06:51 +02:00
2003-10-16 03:08:40 +03:00
2003-10-22 16:10:22 +02:00
2003-10-22 16:10:22 +02:00
2003-11-13 19:34:56 +01:00
2003-05-21 21:39:58 +03:00
2003-10-06 11:13:25 +03:00
2003-08-11 22:44:43 +03:00