1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-31 08:42:45 +03:00
unknown 33d5d4ad99 Fix for BUG#13095: Cannot create VIEWs in prepared statements
- allow CREATE VIEW as well as DROP VIEW to use in prepared statements;
  - fix CREATE VIEW implementation to make it work in prepared statements.


mysql-test/r/sp.result:
  Results file for the test case for BUG#13095.
mysql-test/t/sp.test:
  Test case for BUG#13095.
sql/sql_lex.h:
  Added a variable to remember start of whole CREATE VIEW statement
  as well as start of its SELECT part.
sql/sql_prepare.cc:
  Allow CREATE VIEW and DROP VIEW to use in prepared statements.
sql/sql_view.cc:
  Use stored start of whole CREATE VIEW statement instead of thd->query,
  which differs from the original when prepared statement is executing.
sql/sql_yacc.yy:
  Remember start of whole CREATE VIEW statement as well as start of its
  SELECT part.
2005-10-25 00:54:04 +04:00
..
2005-07-28 17:09:54 +03:00
2005-09-11 22:10:04 +03:00
2005-07-28 17:09:54 +03:00
2005-07-28 17:09:54 +03:00
2005-07-28 17:09:54 +03:00
2005-07-28 17:09:54 +03:00
2005-09-09 10:54:59 +04:00
2005-07-28 17:09:54 +03:00
2005-09-08 18:15:05 +01:00
2005-09-25 11:35:32 +02:00
2005-09-15 21:05:42 +02:00
2005-09-09 10:54:59 +04:00
2005-10-13 14:35:53 +02:00
2005-10-12 00:58:22 +03:00
2005-08-26 22:25:45 -07:00
2005-08-27 20:06:35 +05:00
2005-09-09 12:43:25 +02:00
2005-07-28 17:09:54 +03:00
2005-09-15 21:05:42 +02:00
2005-07-28 17:09:54 +03:00
2005-08-12 17:57:19 +03:00
2005-08-29 21:06:45 +02:00
2005-07-28 17:09:54 +03:00
2005-09-23 14:37:22 +02:00
2005-07-28 17:09:54 +03:00
2005-09-02 09:50:17 +03:00
2005-09-21 13:53:22 +02:00
2005-09-24 04:11:51 +02:00
2005-09-26 22:43:09 -07:00
2005-10-13 13:42:56 -07:00
2005-07-28 17:09:54 +03:00
2005-09-15 22:21:30 +04:00
2005-08-19 11:38:14 +03:00
2005-09-14 23:12:01 +03:00
2005-10-13 00:29:23 +02:00
2005-09-22 03:23:07 +03:00
2005-08-09 00:13:49 +03:00
2005-10-11 14:58:25 +05:00
2005-10-19 01:52:06 +04:00