| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Fixed compiler warnings
Fix core dump when sending SIGHUP to mysqld
|
|\ |
|
| |\
| | |
| | |
| | | |
properly" with main tree.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In server we assume that datetime values stored in MYSQL_TIME struct
are normalized (and year is not greater than 9999), so we should
perform range checks in all places then we convert something to
MYSQL_TIME.
|
|\ \ \
| |/ / |
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
FOUND is not a reserved keyword anymore
Added Item_field::set_no_const_sub() to be able to mark fields that can't be substituted
Added 'simple_select' method to be able to quickly determinate if a select_result is a normal SELECT
Note that the 5.0 tree is not yet up to date: Sanja will have to fix multi-update-locks for this merge to be complete
|
|\ \
| |/ |
|
| |
| |
| |
| | |
numeric columns (stmt_resultset_metadata)"
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
New mysqltest that can run mysqltest with PS
Added support for ZEROFILL in PS
Fixed crash when one called mysql_stmt_store_result() without a preceding mysql_stmt_bind_result()
Updated test cases to support --ps-protocol
(Some tests are still run using old protocol)
Fixed crash in PS when using SELECT * FROM t1 NATURAL JOIN t2...
Fixed crash in PS when using sub queries
Create table didn't signal when table was created. This could cause a "DROP TABLE created_table" in another thread to wait "forever"
Fixed wrong permissions check in PS and multi-table updates (one could get permission denied for legal quries)
Fix for PS and SELECT ... PROCEDURE
Reset all warnings when executing a new PS query
group_concat(...ORDER BY) didn't work with PS
Fixed problem with test suite when not using innodb
|
| |\
| | |
| | |
| | | |
into mysql.com:/home/kostja/work/mysql-4.1-6049
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
statements and negative time/date values".
The bug was in wrong sprintf format used in the client library.
The fix moves TIME -> string conversion functions to sql-common and
utilized them in the client library.
|
| |/
| |
| |
| |
| |
| |
| | |
Simple optimzations and cleanups
Removed compiler warnings and fixed portability issues
Added client functions 'mysql_embedded()' to allow client to check if we are using embedded server
Fixes for purify
|
| |
| |
| |
| | |
prepared statements."
|
| |\
| | |
| | |
| | | |
into mysql.com:/home/wax/mysql/mysql-4.1group_concat
|
| | |\
| | | |
| | | |
| | | | |
into mysql.com:/home/wax/mysql/mysql-4.1group_concat
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
sqlstat uninitialized in mysql_init().
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Under strict mode MySQL will generate an error message if there was any conversion when assigning data to a field.
Added checking of date/datetime fields.
If strict mode, give error if we have not given value to field without a default value (for INSERT)
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
(Includes merge of arena code in 4.1 and 5.0)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
parameters": when unpacking binary time recieved from client, handle
the case when length is 0: it means all MYSQL_TIME members are zero.
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
into eagle.mysql.r18.ru:/home/vva/work/BUG_4998/mysql-4.1
|
| | | | |
| | | | |
| | | | |
| | | | | |
(Bug #4998 --protocol doesn't reject bad values)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We have to include my_pthread.h since it is the place where localtime_r() is declared
on platforms where this function is missing.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
client.c:
Removed call to clear_slave_vio in end_server(). Removed header declaration of clear_slave_vio
slave.cc:
Removed clear_slave_vio function and added calls to thd->clear_active_vio before each call to end_server()
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
client.c:
Added call to clear_slave_vio inside end_server only when under Windows with repliaction
slave.cc:
Added clear_slave_vio function for clearing active vio on THD under Windows replication
|
| |\ \ \
| | |/ /
| |/| |
| | | | |
into deer.(none):/home/hf/work/mysql-4.1.emb
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
#4700 (Unsigned value returned as signed)
just no appropriate checking
#4701 (Errors returned earlier than expected)
all errors returned from send_command()
#4702 (Result isn't freed properly if there's no retrieval)
flush_use_result has only 'client' version and should
be made 'virtual'
|
| | |/
| |/| |
|
| | |
| | |
| | |
| | | |
compiler
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
--position) and --stop-position
options for mysqlbinlog, with a test file.
This enables user to say "recover my database to how it was this morning at 10:30"
(mysqlbinlog "--stop-datetime=2003-07-29 10:30:00").
Using time functions into client/ made me move them out of sql/ into sql-common/.
+ (small) fix for BUG#4507 "mysqlbinlog --read-from-remote-server sometimes
cannot accept 2 binlogs" (that is, on command line).
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Symbol spelling change.
errmsg.c:
Client error message edits.
errmsg.h:
Two symbol spelling changes.
|
| | |
|
| |
| |
| |
| | |
result of SHOW TABLE STATUS
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
work (prepared statements)" and after-review fixes:
- str_to_TIME renamed to str_to_datetime to pair with str_to_time
- functions str_to_time and str_to_TIME moved to sql-common
- send_data_str now supports MYSQL_TYPE_TIME, MYSQL_TIME_DATE,
MYSQL_TIME_DATETIME types of user input buffers.
- few more comments in the client library
- a test case added.
|
| |
| |
| |
| | |
Return NULL if a time argument is given to date_add(). (Warning will be shown after Dimitri's timezone patch is pushed)
|
| |
| |
| |
| |
| | |
some reason wasn't included before.
A lot of files cleaned up from #include <assert.h>
|
| |
| |
| |
| | |
Bug #3990 `--with-charset' ./configure's switch doesn'taffect mysql client library.
|
| |
| |
| |
| | |
Added new windows configuration
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(it should
produce hex digits in lower case). (fixed version)
Replaced _dig_vec array with two _dig_vec_upper/_dig_vec_lower arrays.
Added extra argument to int2str function which controls case of digits you get.
Replaced lot of invocations of int2str for decimal radix with more optimized int10_to_str()
function.
Removed unused my_itoa/my_ltoa functions.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
Fixed bugs in group_concat with ORDER BY and DISTINCT (Bugs #2695, #3381 and #3319)
Fixed crash when doing rollback in slave and the io thread catched up with the sql thread
Set locked_in_memory properly
|
| | |
|
| |
| |
| |
| | |
Changed _XXX to _MY_XXX to solve conflict problem on Mac OS X
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
flaws list)
TODO:
* verify that no sequence of API calls produces SIGSEGV.
That is, verify that mysql_stmt_init -> mysql_stmt_fetch is OK,
or mysql_stmt_prepare -> mysql_stmt_fetch_column is OK and sets
meaningful error.
* remove alloc_stmt_fields call
* revise stmt->state codes and statement states.
* there are other items in prepared statements 'to fix' document.
Done:
- cleanups and comments
- revision of prepared statement error codes.
- mysql_stmt_prepare is now can always be called (that is, you can reprepare
a statement)
- new implementation of mysql_stmt_close and fetch cancellation
|
| |
| |
| |
| | |
set_mysql_error is deployed
|
| |
| |
| |
| |
| | |
read_statistic -> read_statistics
(statistic is adjective)
|