You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
CONC-691: Obtain sql statement from statement handle
Added an option STMT_ATTR_SQL_STATEMENT in API function mariadb_stmt_attr_get which returns a MARIADB_CONST_STRING structure which contains SQL statement from last mysql_stmt_prepare() call.
This commit is contained in:
@@ -971,7 +971,7 @@ static MARIADB_CONST_STRING null_const_string= {0,0};
|
||||
/***************************************************************************
|
||||
** Allocate a string copy on memroot
|
||||
***************************************************************************/
|
||||
static MARIADB_CONST_STRING ma_const_string_copy_root(MA_MEM_ROOT *memroot,
|
||||
MARIADB_CONST_STRING ma_const_string_copy_root(MA_MEM_ROOT *memroot,
|
||||
const char *str,
|
||||
size_t length)
|
||||
{
|
||||
|
Reference in New Issue
Block a user