| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
uniform: cli_ + member name.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Cleaned up embedded library access and query cache handling
Changed min stack size to 128K (to allow longer MyISAM keys)
Fixed wrong priority for XOR (should be less than NEG to get -1^1 to work)
|
|/
|
|
|
|
| |
now mysql_server_init is called from mysql_init with fake parameters
mysql_once_init code included to mysql_server_init.
embedded-specific initialization is in init_embedded_server function
|
|\
| |
| |
| | |
into mysql.com:/home/kostja/mysql/mysql-4.1-root
|
| | |
|
|\ \
| |/
|/|
| | |
into mysql.com:/my/mysql-4.1
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixed compiler warnings (a lot of hidden variables detected by the Forte compiler)
Added a lot of 'version_xxx' strings to 'show variables'
Prevent copying of TMP_TABLE_PARAM (This caused core dump bug on Solaris)
Fixed problem with printing sub selects to debug log
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | | |
into mysql.com:/home/kostja/mysql/mysql-4.1-wl519
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Client option secure-auth deployed on all possible layers:
- mysql client command-line and config file option
- mysql_options option MYSQL_SECURE_AUTH
- mysql_real_connect will automatically take into account that option if
mysql->options.my_cnf_file/my_cnf_group is set
|
|/
|
|
| |
2 forgotten 'break;' statements added
|
|
|
|
|
|
|
|
| |
the server if cur_log is 'hot' and the io_thread has changed log file.
Updated project files for windows
Made rpl_change_master.test portable
Ensure that mutex are not freed if not initilized
|
|
|
|
| |
Fixed compiler warnings (IRIX C compiler and VC++)
|
|
|
|
|
|
|
|
|
|
| |
New multi-key-cache handling. This was needed becasue the old one didn't work reliable with MERGE tables.
ALTER TABLE table_name ... CHARACTER SET ... now changes all char/varchar/text columns to the given character set
(One must use ALTER TABLE ... DEFAULT CHARACTER SET ... to change the default character set)
Fixed that have_compress is detected properly (fixes problems with func_compress.test on platforms without zlib)
New syntax for CACHE INDEX ('keys' is optional if no index name is given and one mentions the key cache name only ones)
Removed compiler warnings
Added mysql_set_server_option() to allow clients like PHP to easaily set/reset the multi-statement flag.
|
|
|
|
|
| |
After merge fixes.
Now code compiles, but there is still some valgrind warnings that needs to be fixed
|
|
|
|
| |
After merge fixes
|
| |
|
| |
|
|
|
|
|
|
| |
embedded library
some fixes - cleanup procedure changed for embedded library - deletion of
embedded mysql->thd
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
WL#604 Privileges in embedded library
code added to check privileges in embedded library
NO_EMBEDDED_ACCESS_CHECKS macros inserted in code so we can exclude
access-checking parts. Actually we now can exclude these parts from
standalone server as well. Do we need it?
Access checks are disabled in embedded server by default. One should
edit libmysqld/Makefile manually to get this working.
We definitely need the separate configure for embedded server
|
| |
| |
| |
| |
| | |
prepared statements in embedded library.
some fixes after testing
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
embedded library
some dirty places cleaned:
uint removed from mysql.h as Miguel suggested
empty_string renamed as my_empty_string to get rid of name's intersections
using embedded library
|
|/
|
|
|
|
|
|
|
| |
embedded library
I decided to get rid of #define mysql_some_function in mysql.h
It puzzles users and makes problems with dynamic libraries
Finally, there are only two functions left, that are covered with
the #define-s and it won't hurt performance at all
|
|
|
|
| |
prepared statements in embedded library
|
|
|
|
| |
prepared statements in embedded library
|
|
|
|
|
|
|
|
| |
Prepared statements in embedded server
Several changes in library code with two goals:
to make mysql_prepare_stmt working in embedded server
to get rid of #define mysql_interface_func mysql->methods->interface_func
in user's interface
|
|
|
|
| |
#977 Prepared statements in embedded library
|
|
|
|
|
|
| |
embedded&client library
some fixes: zero at the end of the data added
mysql_list_fields became 'virtual'
|
|\
| |
| |
| | |
lost.
|
| |\ |
|