Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
e4276e2b
Commit
e4276e2b
authored
May 31, 2006
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document better the "bool table_id" flags introduced in r590.
parent
ced7158c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
8 deletions
+15
-8
handler/ha_innodb.cc
handler/ha_innodb.cc
+2
-1
include/ut0ut.h
include/ut0ut.h
+7
-4
ut/ut0ut.c
ut/ut0ut.c
+6
-3
No files found.
handler/ha_innodb.cc
View file @
e4276e2b
...
@@ -1213,7 +1213,8 @@ innobase_print_identifier(
...
@@ -1213,7 +1213,8 @@ innobase_print_identifier(
/*======================*/
/*======================*/
FILE
*
f
,
/* in: output stream */
FILE
*
f
,
/* in: output stream */
trx_t
*
trx
,
/* in: transaction */
trx_t
*
trx
,
/* in: transaction */
ibool
table_id
,
/* in: TRUE=decode table name */
ibool
table_id
,
/* in: TRUE=print a table name,
FALSE=print other identifier */
const
char
*
name
,
/* in: name to print */
const
char
*
name
,
/* in: name to print */
ulint
namelen
)
/* in: length of name */
ulint
namelen
)
/* in: length of name */
{
{
...
...
include/ut0ut.h
View file @
e4276e2b
...
@@ -214,17 +214,19 @@ ut_print_filename(
...
@@ -214,17 +214,19 @@ ut_print_filename(
FILE
*
f
,
/* in: output stream */
FILE
*
f
,
/* in: output stream */
const
char
*
name
);
/* in: name to print */
const
char
*
name
);
/* in: name to print */
/* Forward declaration of transaction handle */
struct
trx_struct
;
/**************************************************************************
/**************************************************************************
Outputs a NUL-terminated string, quoted as an SQL identifier. */
Outputs a NUL-terminated string, quoted as an SQL identifier. */
struct
trx_struct
;
void
void
ut_print_name
(
ut_print_name
(
/*==========*/
/*==========*/
FILE
*
f
,
/* in: output stream */
FILE
*
f
,
/* in: output stream */
struct
trx_struct
*
trx
,
/* in: transaction */
struct
trx_struct
*
trx
,
/* in: transaction */
ibool
table_id
,
/* in: TRUE=decode table name */
ibool
table_id
,
/* in: TRUE=print a table name,
FALSE=print other identifier */
const
char
*
name
);
/* in: name to print */
const
char
*
name
);
/* in: name to print */
/**************************************************************************
/**************************************************************************
...
@@ -235,7 +237,8 @@ ut_print_namel(
...
@@ -235,7 +237,8 @@ ut_print_namel(
/*===========*/
/*===========*/
FILE
*
f
,
/* in: output stream */
FILE
*
f
,
/* in: output stream */
struct
trx_struct
*
trx
,
/* in: transaction (NULL=no quotes) */
struct
trx_struct
*
trx
,
/* in: transaction (NULL=no quotes) */
ibool
table_id
,
/* in: TRUE=decode table name */
ibool
table_id
,
/* in: TRUE=print a table name,
FALSE=print other identifier */
const
char
*
name
,
/* in: name to print */
const
char
*
name
,
/* in: name to print */
ulint
namelen
);
/* in: length of name */
ulint
namelen
);
/* in: length of name */
...
...
ut/ut0ut.c
View file @
e4276e2b
...
@@ -30,7 +30,8 @@ innobase_print_identifier(
...
@@ -30,7 +30,8 @@ innobase_print_identifier(
/*======================*/
/*======================*/
FILE
*
f
,
/* in: output stream */
FILE
*
f
,
/* in: output stream */
trx_t
*
trx
,
/* in: transaction */
trx_t
*
trx
,
/* in: transaction */
ibool
table_id
,
/* in: TRUE=decode table name */
ibool
table_id
,
/* in: TRUE=print a table name,
FALSE=print other identifier */
const
char
*
name
,
/* in: name to print */
const
char
*
name
,
/* in: name to print */
ulint
namelen
);
/* in: length of name */
ulint
namelen
);
/* in: length of name */
#endif
/* !UNIV_HOTBACKUP */
#endif
/* !UNIV_HOTBACKUP */
...
@@ -400,7 +401,8 @@ ut_print_name(
...
@@ -400,7 +401,8 @@ ut_print_name(
/*==========*/
/*==========*/
FILE
*
f
,
/* in: output stream */
FILE
*
f
,
/* in: output stream */
trx_t
*
trx
,
/* in: transaction */
trx_t
*
trx
,
/* in: transaction */
ibool
table_id
,
/* in: TRUE=decode table name */
ibool
table_id
,
/* in: TRUE=print a table name,
FALSE=print other identifier */
const
char
*
name
)
/* in: name to print */
const
char
*
name
)
/* in: name to print */
{
{
ut_print_namel
(
f
,
trx
,
table_id
,
name
,
strlen
(
name
));
ut_print_namel
(
f
,
trx
,
table_id
,
name
,
strlen
(
name
));
...
@@ -414,7 +416,8 @@ ut_print_namel(
...
@@ -414,7 +416,8 @@ ut_print_namel(
/*===========*/
/*===========*/
FILE
*
f
,
/* in: output stream */
FILE
*
f
,
/* in: output stream */
trx_t
*
trx
,
/* in: transaction (NULL=no quotes) */
trx_t
*
trx
,
/* in: transaction (NULL=no quotes) */
ibool
table_id
,
/* in: TRUE=decode table name */
ibool
table_id
,
/* in: TRUE=print a table name,
FALSE=print other identifier */
const
char
*
name
,
/* in: name to print */
const
char
*
name
,
/* in: name to print */
ulint
namelen
)
/* in: length of name */
ulint
namelen
)
/* in: length of name */
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment