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
e0f1e6af
Commit
e0f1e6af
authored
Nov 12, 2004
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability fix for gcc 2.95.3
After merge fixes
parent
d164fc43
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
11 deletions
+14
-11
mysql-test/r/mix_innodb_myisam_binlog.result
mysql-test/r/mix_innodb_myisam_binlog.result
+6
-4
mysys/default.c
mysys/default.c
+2
-1
sql/mysql_priv.h
sql/mysql_priv.h
+3
-3
sql/sql_base.cc
sql/sql_base.cc
+3
-3
No files found.
mysql-test/r/mix_innodb_myisam_binlog.result
View file @
e0f1e6af
...
@@ -174,10 +174,12 @@ select a from t1 order by a;
...
@@ -174,10 +174,12 @@ select a from t1 order by a;
a
a
16
16
18
18
master-bin.000001 79 Query 1 79 use `test`; BEGIN
show binlog events from 95;
master-bin.000001 119 Query 1 79 use `test`; insert into t1 values(16)
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 179 Query 1 79 use `test`; insert into t1 values(18)
master-bin.000001 95 Query 1 # use `test`; BEGIN
master-bin.000001 239 Query 1 239 use `test`; COMMIT
master-bin.000001 157 Query 1 # use `test`; insert into t1 values(16)
master-bin.000001 239 Query 1 # use `test`; insert into t1 values(18)
master-bin.000001 321 Query 1 # use `test`; COMMIT
delete from t1;
delete from t1;
delete from t2;
delete from t2;
alter table t2 type=MyISAM;
alter table t2 type=MyISAM;
...
...
mysys/default.c
View file @
e0f1e6af
...
@@ -85,7 +85,8 @@ struct handle_option_ctx
...
@@ -85,7 +85,8 @@ struct handle_option_ctx
static
int
search_default_file
(
Process_option_func
func
,
void
*
func_ctx
,
static
int
search_default_file
(
Process_option_func
func
,
void
*
func_ctx
,
const
char
*
dir
,
const
char
*
config_file
);
const
char
*
dir
,
const
char
*
config_file
);
static
int
search_default_file_with_ext
(
DYNAMIC_ARRAY
*
args
,
MEM_ROOT
*
alloc
,
static
int
search_default_file_with_ext
(
Process_option_func
func
,
void
*
func_ctx
,
const
char
*
dir
,
const
char
*
ext
,
const
char
*
dir
,
const
char
*
ext
,
const
char
*
config_file
);
const
char
*
config_file
);
...
...
sql/mysql_priv.h
View file @
e0f1e6af
...
@@ -649,8 +649,8 @@ bool drop_locked_tables(THD *thd,const char *db, const char *table_name);
...
@@ -649,8 +649,8 @@ bool drop_locked_tables(THD *thd,const char *db, const char *table_name);
void
abort_locked_tables
(
THD
*
thd
,
const
char
*
db
,
const
char
*
table_name
);
void
abort_locked_tables
(
THD
*
thd
,
const
char
*
db
,
const
char
*
table_name
);
void
execute_init_command
(
THD
*
thd
,
sys_var_str
*
init_command_var
,
void
execute_init_command
(
THD
*
thd
,
sys_var_str
*
init_command_var
,
rw_lock_t
*
var_mutex
);
rw_lock_t
*
var_mutex
);
extern
const
Field
*
not_found_field
;
extern
Field
*
not_found_field
;
extern
const
Field
*
view_ref_found
;
extern
Field
*
view_ref_found
;
enum
find_item_error_report_type
{
REPORT_ALL_ERRORS
,
REPORT_EXCEPT_NOT_FOUND
,
enum
find_item_error_report_type
{
REPORT_ALL_ERRORS
,
REPORT_EXCEPT_NOT_FOUND
,
IGNORE_ERRORS
,
REPORT_EXCEPT_NON_UNIQUE
,
IGNORE_ERRORS
,
REPORT_EXCEPT_NON_UNIQUE
,
...
@@ -776,7 +776,7 @@ TABLE *unlink_open_table(THD *thd,TABLE *list,TABLE *find);
...
@@ -776,7 +776,7 @@ TABLE *unlink_open_table(THD *thd,TABLE *list,TABLE *find);
SQL_SELECT
*
make_select
(
TABLE
*
head
,
table_map
const_tables
,
SQL_SELECT
*
make_select
(
TABLE
*
head
,
table_map
const_tables
,
table_map
read_tables
,
COND
*
conds
,
int
*
error
,
table_map
read_tables
,
COND
*
conds
,
int
*
error
,
bool
allow_null_cond
=
false
);
bool
allow_null_cond
=
false
);
extern
const
Item
**
not_found_item
;
extern
Item
**
not_found_item
;
Item
**
find_item_in_list
(
Item
*
item
,
List
<
Item
>
&
items
,
uint
*
counter
,
Item
**
find_item_in_list
(
Item
*
item
,
List
<
Item
>
&
items
,
uint
*
counter
,
find_item_error_report_type
report_error
,
find_item_error_report_type
report_error
,
bool
*
unaliased
);
bool
*
unaliased
);
...
...
sql/sql_base.cc
View file @
e0f1e6af
...
@@ -2045,8 +2045,8 @@ bool rm_temporary_table(enum db_type base, char *path)
...
@@ -2045,8 +2045,8 @@ bool rm_temporary_table(enum db_type base, char *path)
******************************************************************************/
******************************************************************************/
/* Special Field pointers for find_field_in_tables returning */
/* Special Field pointers for find_field_in_tables returning */
const
Field
*
not_found_field
=
(
Field
*
)
0x1
;
Field
*
not_found_field
=
(
Field
*
)
0x1
;
const
Field
*
view_ref_found
=
(
Field
*
)
0x2
;
Field
*
view_ref_found
=
(
Field
*
)
0x2
;
#define WRONG_GRANT (Field*) -1
#define WRONG_GRANT (Field*) -1
...
@@ -2447,7 +2447,7 @@ find_field_in_tables(THD *thd, Item_ident *item, TABLE_LIST *tables,
...
@@ -2447,7 +2447,7 @@ find_field_in_tables(THD *thd, Item_ident *item, TABLE_LIST *tables,
*/
*/
/* Special Item pointer to serve as a return value from find_item_in_list(). */
/* Special Item pointer to serve as a return value from find_item_in_list(). */
const
Item
**
not_found_item
=
(
const
Item
**
)
0x1
;
Item
**
not_found_item
=
(
Item
**
)
0x1
;
Item
**
Item
**
...
...
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