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
11cd9746
Commit
11cd9746
authored
Apr 11, 2008
by
sunny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Remove spaces and fix an uninitialized variable compiler warning.
parent
21fd4e57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
handler/ha_innodb.cc
handler/ha_innodb.cc
+11
-7
No files found.
handler/ha_innodb.cc
View file @
11cd9746
...
...
@@ -245,12 +245,12 @@ bool
innodb_file_format_update
(
/*======================*/
/* out: should never
fail since it is
fail since it is
already validated */
THD
*
thd
,
/* in: thread handle */
struct
st_mysql_sys_var
*
var
,
/* in: pointer to
struct
st_mysql_sys_var
*
var
,
/* in: pointer to
system variable */
void
*
var_ptr
,
/* out: where the
void
*
var_ptr
,
/* out: where the
formal string goes */
void
*
save
);
/* in: immediate result
from check function */
...
...
@@ -1820,6 +1820,10 @@ innobase_init(
MYF
(
MY_ALLOW_ZERO_PTR
));
goto
error
;
}
}
else
{
/* Set it to the default file format id. Though this
should never happen. */
format_id
=
0
;
}
srv_file_format
=
format_id
;
...
...
@@ -8818,12 +8822,12 @@ bool
innodb_file_format_update
(
/*======================*/
/* out: should never
fail since it is
fail since it is
already validated */
THD
*
thd
,
/* in: thread handle */
struct
st_mysql_sys_var
*
var
,
/* in: pointer to
struct
st_mysql_sys_var
*
var
,
/* in: pointer to
system variable */
void
*
var_ptr
,
/* out: where the
void
*
var_ptr
,
/* out: where the
formal string goes */
void
*
save
)
/* in: immediate result
from check function */
...
...
@@ -8893,7 +8897,7 @@ static MYSQL_SYSVAR_BOOL(file_per_table, srv_file_per_table,
static
MYSQL_SYSVAR_STR
(
file_format
,
innobase_file_format_name
,
PLUGIN_VAR_RQCMDARG
,
"File format to use for new tables in .ibd files."
,
(
mysql_var_check_func
)
&
innodb_file_format_check
,
(
mysql_var_check_func
)
&
innodb_file_format_check
,
(
mysql_var_update_func
)
&
innodb_file_format_update
,
"Antelope"
);
static
MYSQL_SYSVAR_ULONG
(
flush_log_at_trx_commit
,
srv_flush_log_at_trx_commit
,
...
...
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