| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
into mysql.com:/home/ram/work/b32676/b32676.5.0
|
| |
| |
| |
| |
| |
| |
| |
| | |
specified
Problem: using wrong local lock type value in the mysql_insert() results in a crash.
Fix: use a proper value.
|
|/
|
|
|
| |
Bug#20627 - INSERT DELAYED does not honour auto_increment_* variables
Fixed wrong variable assignment.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
INSERT DELAYED inserts garbage for BIT columns.
When delayed thread clones TABLE object, it didn't adjusted bit_ptr
to newly created record (though it correctly adjusts ptr and null_ptr).
This is fixed by correctly adjusting bit_ptr when performing a clone.
With this fix BIT values are stored correctly by INSERT DELAYED.
|
| |
|
|\
| |
| |
| | |
into mysql.com:/home/hf/work/embt/my50-embt
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug#20627 - INSERT DELAYED does not honour auto_increment_* variables
INSERT DELAYED ignored an explicitly set INSERT_ID and session
specific auto_increment_* variables.
The problem was that the inserts are done by a system thread,
which does not have access to the session variables of the user
thread.
On a proposal of Guilhem I fixed it so that the variables are
copied to the data structure for every delayed row. The system
thread sets its session variables from these values.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The INSERT DELAYED should not maintain its own private auto-increment
counter, because this is assuming that other threads cannot insert
into the table while the INSERT DELAYED thread is inserting, which is
a wrong assumption.
So the start of processing of a batch of INSERT rows in the
INSERT DELAYED thread must be treated as a start of a new statement
and cached next_insert_id must be cleared.
|
| |
| |
| |
| | |
(Needed for "list of pushes" web page and autopush)
|
| |
| |
| |
| | |
conflict in a unique key. (Bug #12226)
|
|\ \
| |/
| |
| | |
into mysql.com:/home/my/mysql-5.0
|
| | |
|
|/
|
|
| |
After merge fixes
|
|
|
|
| |
statements)
|
|
|
|
|
|
| |
Cleaned up test; Removed wrong DROP TABLE commands and use standard table and database names.
changed store_warning() -> push_warning_print()
|
| |
|
|
|
|
|
| |
Added delayed_user for delayed_threads
Don't use record cache when doing deletes
|
| |
|
|
A lot of new tests to mysqltest
Fixed bug with BDB tables and autocommit
|