| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| | |
format strings (in all languages) already included field limits on the
specifiers, so this is just protection against future mistakes. (Bug #7556)
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
Make multi-statements the preferred option name (to coincide
with the renaming of the CLIENT_MULTI_RESULTS symbol to
CLIENT_MULTI_STATEMENTS). Continue to allow multi-queries
for backward compatibility.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
add space after comma
add space after equal
add comments in vio_close_shared_memory()
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(continue)
added event_conn_closed
replaced WaitForSingleObject on WaitForMultipleObjects
inserted a check in vio_close()
added SetEvent() for event_conn_closed
|
|\ \
| | |
| | |
| | | |
into mysql.com:/home/cps/mysql/trees/mysql-5.0
|
| | |
| | |
| | |
| | |
| | | |
Solaris doesn't define INADDR_NONE macro. This resulted in compilation
failure. (advanced fix)
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| | |
All our programs which use mysql_real_connect() and mysql_connect() are updated accordingly, though I have deliberately
made mysqlimport not reconnect anymore (already true for mysqldump >= 4.1.8).
All Connector devs have been warned about the change I'm doing here - which was agreed with Monty,
and fixes BUG#2555.
|
| |
| |
| |
| |
| | |
Fixed compiler warnings
Fix core dump when sending SIGHUP to mysqld
|
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
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().
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
(Includes merge of arena code in 4.1 and 5.0)
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
into eagle.mysql.r18.ru:/home/vva/work/BUG_4998/mysql-4.1
|
| | | | |
| | | | |
| | | | |
| | | | | |
(Bug #4998 --protocol doesn't reject bad values)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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'
|
| |/ |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Symbol spelling change.
errmsg.c:
Client error message edits.
errmsg.h:
Two symbol spelling changes.
|
| | |
|
| |
| |
| |
| | |
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)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Renames:
mysql_bind_param -> mysql_stmt_bind_param
mysql_bind_result -> mysql_stmt_bind_result
mysql_execute -> mysql_stmt_execute
mysql_fetch -> mysql_stmt_fetch
mysql_fetch_column -> mysql_stmt_fetch_column
mysql_get_metadata -> mysql_stmt_result_metadata
mysql_param_count -> mysql_stmt_param_count
mysql_param_result -> mysql_stmt_param_metadata
mysql_prepare -> mysql_stmt_prepare
mysql_send_long_data -> mysql_stmt_send_long_data
client_test.c cleaned up from memory leaks
|
| |\
| | |
| | |
| | | |
into mashka.mysql.fi:/home/my/mysql-4.1
|
| | |
| | |
| | |
| | | |
Fixed wrong test of database name (affected optimization of ORDER BY)
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Problem was that we checked for existing connection in stmt_close
and did not free(stmt) if it's closed (that didn't work well with
embedded)
I just added new flag to the stmt_close and now we check it instead
of connection
|
| |
| |
| |
| | |
now it's working
|