diff options
author | marko@hundin.mysql.fi <> | 2004-10-01 11:51:59 +0300 |
---|---|---|
committer | marko@hundin.mysql.fi <> | 2004-10-01 11:51:59 +0300 |
commit | d7ea8e7c6cc6d23aa073ed2a1f5d00a30d98998e (patch) | |
tree | cd5df16f04eff773fc341cd412fa9d695ff0680c /innobase/include/ut0ut.h | |
parent | 1bd65d7715a0d425be608f738651b995bd23a7bc (diff) | |
download | mariadb-git-d7ea8e7c6cc6d23aa073ed2a1f5d00a30d98998e.tar.gz |
InnoDB: quote identifiers according to MySQL settings (Bug #5292)
Diffstat (limited to 'innobase/include/ut0ut.h')
-rw-r--r-- | innobase/include/ut0ut.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/innobase/include/ut0ut.h b/innobase/include/ut0ut.h index f4a682c57ec..dee8785c9e7 100644 --- a/innobase/include/ut0ut.h +++ b/innobase/include/ut0ut.h @@ -198,12 +198,24 @@ ut_print_buf( ulint len); /* in: length of the buffer */ /************************************************************************** +Outputs a NUL-terminated file name, quoted with apostrophes. */ + +void +ut_print_filename( +/*==============*/ + FILE* f, /* in: output stream */ + const char* name); /* in: name to print */ + +/************************************************************************** Outputs a NUL-terminated string, quoted as an SQL identifier. */ +struct trx_struct; + void ut_print_name( /*==========*/ FILE* f, /* in: output stream */ + struct trx_struct*trx, /* in: transaction */ const char* name); /* in: name to print */ /************************************************************************** @@ -213,6 +225,7 @@ void ut_print_namel( /*==========*/ FILE* f, /* in: output stream */ + struct trx_struct*trx, /* in: transaction (NULL=no quotes) */ const char* name, /* in: name to print */ ulint namelen);/* in: length of name */ |