1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

WL#1622 "SQL Syntax for Prepared Statements": Post-review fixes (1 of 2)

This commit is contained in:
sergefp@mysql.com
2004-05-21 04:27:50 +04:00
parent 3711c98b2a
commit fb17025b3e
32 changed files with 257 additions and 79 deletions

View File

@ -608,7 +608,13 @@ typedef struct st_lex
bool safe_to_cache_query;
/* Prepared statements SQL syntax:*/
LEX_STRING prepared_stmt_name; /* Statement name (in all queries) */
LEX_STRING prepared_stmt_code; /* Statement query (in PREPARE )*/
/*
Prepared statement query text or name of variable that holds the
prepared statement (in PREPARE ... queries)
*/
LEX_STRING prepared_stmt_code;
/* If true, prepared_stmt_code is a name of variable that holds the query */
bool prepared_stmt_code_is_varref;
/* Names of user variables holding parameters (in EXECUTE) */
List<LEX_STRING> prepared_stmt_params;
st_lex() {}