1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-06 13:10:12 +03:00
Files
mariadb/mysql-test/t
unknown e1e0f829e6 Bug#21462 (Stored procedures with no arguments require parenthesis)
The syntax of the CALL statement, to invoke a stored procedure, has been
changed to make the use of parenthesis optional in the argument list.
With this change, "CALL p;" is equivalent to "CALL p();".

While the SQL spec does not explicitely mandate this syntax, supporting it
is needed for practical reasons, for integration with JDBC / ODBC connectors.

Also, warnings in the sql/sql_yacc.yy file, which were not reported by Bison 2.1
but are now reported by Bison 2.2, have been fixed.

The warning found were:
bison -y -p MYSQL  -d --debug --verbose sql_yacc.yy
sql_yacc.yy:653.9-18: warning: symbol UNLOCK_SYM redeclared
sql_yacc.yy:656.9-17: warning: symbol UNTIL_SYM redeclared
sql_yacc.yy:658.9-18: warning: symbol UPDATE_SYM redeclared
sql_yacc.yy:5169.11-5174.11: warning: unused value: $2
sql_yacc.yy:5208.11-5220.11: warning: unused value: $5
sql_yacc.yy:5221.11-5234.11: warning: unused value: $5
conflicts: 249 shift/reduce

"unused value: $2" correspond to the $$=$1 assignment in the 1st {} block
in table_ref -> join_table {} {},
which does not procude a result ($$) for the rule but an intermediate $2
value for the action instead.
"unused value: $5" are similar, with $$ assignments in {} actions blocks
which are not for the final reduce.


mysql-test/r/sp.result:
  New test case for Bug#21462
mysql-test/t/sp.test:
  New test case for Bug#21462
sql/sql_yacc.yy:
  "CALL p;" syntax for calling a stored procedure
  Fixed bison 2.2 warnings.
2006-10-09 09:59:02 -07:00
..
2006-05-29 16:27:45 +02:00
2006-05-01 21:30:09 +03:00
2006-06-17 02:57:50 +04:00
2006-06-17 02:57:50 +04:00
2006-03-01 15:50:15 +04:00
2006-05-24 17:21:35 +03:00
2006-06-14 23:54:08 +04:00
2006-06-20 00:52:26 +04:00
2006-04-11 15:26:18 +05:00
2006-09-18 12:14:27 +02:00
2006-08-30 03:22:59 +04:00
2006-07-21 11:59:46 +03:00
2006-05-06 23:48:13 -07:00
2006-08-21 14:20:03 +04:00
2006-08-21 14:20:03 +04:00
2006-03-06 23:43:47 +01:00
2006-05-29 19:07:35 +04:00
2006-05-01 22:10:50 -04:00
2006-06-17 02:57:50 +04:00
2006-03-08 10:40:29 +01:00
2006-09-21 00:59:48 +02:00
2006-04-27 21:59:04 +09:30
2006-08-30 13:20:39 -07:00
2006-08-30 13:20:39 -07:00
2006-08-30 13:20:39 -07:00
2006-08-30 13:20:39 -07:00
2006-08-30 13:20:39 -07:00
2006-09-29 01:35:11 +04:00