1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00
konstantin@mysql.com b99e11c8bd A fix and a test case for Bug#17843 "Certain stored procedures fail to
run at startup"

The server returned an error when trying to execute init-file with a 
stored procedure that could return multiple result sets to the client. 
A stored procedure can return multiple result sets if it contains 
PREPARE, SELECT, SHOW and similar statements.
   
The fix is to set client_capabilites|=CLIENT_MULTI_RESULTS in
sql_parse.cc:handle_bootstrap(). There is no "client" really, so 
nothing is ever sent. This makes init-file feature behave consistently: 
the prepared statements that can be called directly in the init-file 
can be used in a stored procedure too.

Re-committed the patch originally submitted by Per-Erik after review.
2006-07-04 23:46:15 +04:00
..
2005-09-30 14:03:55 +02:00
2006-06-22 00:29:04 +04:00
2006-06-21 01:14:53 +04:00
2006-06-17 02:57:50 +04:00
2005-11-03 22:42:25 +02:00
2006-05-09 13:31:46 -07:00
2006-06-28 12:18:21 -07:00
2006-03-30 17:14:55 +04:00
2006-06-20 13:43:13 -04:00
2006-04-13 17:22:56 +09:30
2006-05-09 13:31:46 -07:00
2006-05-30 17:10:53 -07:00
2006-06-30 20:07:33 +03:00
2006-04-13 17:22:56 +09:30
2005-08-12 13:54:42 +03:00
2006-06-26 22:32:02 +05:00
2006-04-20 00:42:12 -07:00
2006-06-30 02:03:09 +04:00
2006-06-17 02:11:12 +04:00
2005-06-07 00:31:53 +03:00
2006-04-04 17:54:58 -07:00
2005-06-07 00:31:53 +03:00
2006-06-27 00:47:52 +04:00
2006-06-27 00:47:52 +04:00
2006-06-27 00:47:52 +04:00
2005-05-26 21:01:55 +02:00
2006-07-04 02:07:41 +04:00
2006-07-04 02:07:41 +04:00
2005-08-12 17:57:19 +03:00
2006-05-07 16:14:43 -07:00
2006-04-13 17:22:56 +09:30
2005-12-14 01:21:56 +02:00
2006-05-03 21:35:27 -07:00
2006-06-27 00:47:52 +04:00
2006-04-21 08:19:38 -07:00
2006-06-27 00:47:52 +04:00
2006-06-14 23:54:08 +04:00
2006-06-30 19:15:18 +03:00
2005-07-31 12:49:55 +03:00
2006-06-27 00:47:52 +04:00