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
d8edc2db
Commit
d8edc2db
authored
Jun 28, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1
into rurik.mysql.com:/home/igor/mysql-4.1
parents
69f29348
05c7edf6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
3 deletions
+8
-3
mysys/thr_alarm.c
mysys/thr_alarm.c
+1
-0
sql/opt_range.cc
sql/opt_range.cc
+1
-2
sql/sql_base.cc
sql/sql_base.cc
+1
-0
sql/sql_insert.cc
sql/sql_insert.cc
+4
-0
sql/sql_parse.cc
sql/sql_parse.cc
+1
-1
No files found.
mysys/thr_alarm.c
View file @
d8edc2db
...
...
@@ -86,6 +86,7 @@ void init_thr_alarm(uint max_alarms)
{
struct
sigaction
sact
;
sact
.
sa_flags
=
0
;
bzero
((
char
*
)
&
sact
,
sizeof
(
sact
));
sact
.
sa_handler
=
thread_alarm
;
sigaction
(
THR_CLIENT_ALARM
,
&
sact
,
(
struct
sigaction
*
)
0
);
}
...
...
sql/opt_range.cc
View file @
d8edc2db
...
...
@@ -981,8 +981,7 @@ get_mm_parts(PARAM *param, COND *cond_func, Field *field,
SEL_TREE
*
tree2
=
get_mm_parts
(
param
,
cond_func
,
field
,
Item_func
::
GT_FUNC
,
value
,
cmp_type
);
if
(
!
tree2
)
DBUG_RETURN
(
0
);
/* tree_or() will return 0 if tree2 is 0 */
tree
=
tree_or
(
param
,
tree
,
tree2
);
}
DBUG_RETURN
(
tree
);
...
...
sql/sql_base.cc
View file @
d8edc2db
...
...
@@ -979,6 +979,7 @@ TABLE *open_table(THD *thd,const char *db,const char *table_name,
if
(
table
->
timestamp_field
)
table
->
timestamp_field_type
=
table
->
timestamp_field
->
get_auto_set_type
();
DBUG_ASSERT
(
table
->
key_read
==
0
);
DBUG_ASSERT
(
table
->
insert_values
==
0
);
DBUG_RETURN
(
table
);
}
...
...
sql/sql_insert.cc
View file @
d8edc2db
...
...
@@ -516,6 +516,10 @@ abort:
ON DUPLICATE KEY ...
we should be able to refer to sum1 in the ON DUPLICATE KEY part
WARNING
You MUST set table->insert_values to 0 after calling this function
before releasing the table object.
RETURN VALUE
0 OK
-1 error (message is not sent to user)
...
...
sql/sql_parse.cc
View file @
d8edc2db
...
...
@@ -2891,12 +2891,12 @@ unsent_create_error:
/* revert changes for SP */
lex
->
select_lex
.
resolve_mode
=
SELECT_LEX
::
INSERT_MODE
;
delete
result
;
insert_table
->
insert_values
=
0
;
if
(
thd
->
net
.
report_error
)
res
=
-
1
;
}
else
res
=
-
1
;
insert_table
->
insert_values
=
0
;
// Set by mysql_prepare_insert()
first_local_table
->
next
=
tables
;
lex
->
select_lex
.
table_list
.
first
=
(
byte
*
)
first_local_table
;
break
;
...
...
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