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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
344481d5
Commit
344481d5
authored
Oct 15, 2008
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: row_create_table_for_mysql(), row_create_index_for_mysql():
Note that the dictionary object will be freed.
parent
b3cc02a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
include/row0mysql.h
include/row0mysql.h
+4
-2
row/row0mysql.c
row/row0mysql.c
+4
-2
No files found.
include/row0mysql.h
View file @
344481d5
...
@@ -339,7 +339,8 @@ int
...
@@ -339,7 +339,8 @@ int
row_create_table_for_mysql
(
row_create_table_for_mysql
(
/*=======================*/
/*=======================*/
/* out: error code or DB_SUCCESS */
/* out: error code or DB_SUCCESS */
dict_table_t
*
table
,
/* in: table definition */
dict_table_t
*
table
,
/* in, own: table definition
(will be freed) */
trx_t
*
trx
);
/* in: transaction handle */
trx_t
*
trx
);
/* in: transaction handle */
/*************************************************************************
/*************************************************************************
Does an index creation operation for MySQL. TODO: currently failure
Does an index creation operation for MySQL. TODO: currently failure
...
@@ -350,7 +351,8 @@ int
...
@@ -350,7 +351,8 @@ int
row_create_index_for_mysql
(
row_create_index_for_mysql
(
/*=======================*/
/*=======================*/
/* out: error number or DB_SUCCESS */
/* out: error number or DB_SUCCESS */
dict_index_t
*
index
,
/* in: index definition */
dict_index_t
*
index
,
/* in, own: index definition
(will be freed) */
trx_t
*
trx
,
/* in: transaction handle */
trx_t
*
trx
,
/* in: transaction handle */
const
ulint
*
field_lengths
);
/* in: if not NULL, must contain
const
ulint
*
field_lengths
);
/* in: if not NULL, must contain
dict_index_get_n_fields(index)
dict_index_get_n_fields(index)
...
...
row/row0mysql.c
View file @
344481d5
...
@@ -1709,7 +1709,8 @@ int
...
@@ -1709,7 +1709,8 @@ int
row_create_table_for_mysql
(
row_create_table_for_mysql
(
/*=======================*/
/*=======================*/
/* out: error code or DB_SUCCESS */
/* out: error code or DB_SUCCESS */
dict_table_t
*
table
,
/* in: table definition */
dict_table_t
*
table
,
/* in, own: table definition
(will be freed) */
trx_t
*
trx
)
/* in: transaction handle */
trx_t
*
trx
)
/* in: transaction handle */
{
{
tab_node_t
*
node
;
tab_node_t
*
node
;
...
@@ -1903,7 +1904,8 @@ int
...
@@ -1903,7 +1904,8 @@ int
row_create_index_for_mysql
(
row_create_index_for_mysql
(
/*=======================*/
/*=======================*/
/* out: error number or DB_SUCCESS */
/* out: error number or DB_SUCCESS */
dict_index_t
*
index
,
/* in: index definition */
dict_index_t
*
index
,
/* in, own: index definition
(will be freed) */
trx_t
*
trx
,
/* in: transaction handle */
trx_t
*
trx
,
/* in: transaction handle */
const
ulint
*
field_lengths
)
/* in: if not NULL, must contain
const
ulint
*
field_lengths
)
/* in: if not NULL, must contain
dict_index_get_n_fields(index)
dict_index_get_n_fields(index)
...
...
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