summaryrefslogtreecommitdiff
path: root/include/mysql.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix for #2126 (mysql_server_init call shouldn't be needed)hf@deer.(none)2003-12-181-3/+0
| | | | | | 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
* Second part of WL #519:konstantin@oak.local2003-11-281-1/+3
| | | | | | | | 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
* Merge key cache structures to onemonty@mysql.com2003-11-201-22/+22
| | | | Fixed compiler warnings (IRIX C compiler and VC++)
* Portability fixes for AIX43monty@mashka.mysql.fi2003-11-201-12/+12
|
* Changed mysql_next_result() to return int instead of boolmonty@mashka.mysql.fi2003-11-191-1/+1
| | | | | Changed ~Item_func_in() to call cleanup() (to fix memory leak) Fixed test_multi_statements() test in client_test
* CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTSmonty@mashka.mysql.fi2003-11-181-0/+3
| | | | | | | | | | 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.
* merge with 4.0monty@mashka.mysql.fi2003-10-161-0/+3
|\
| * Better fix for CREATE TABLE IF NOT EXISTS ... SELECTmonty@mashka.mysql.fi2003-10-151-0/+3
| | | | | | | | | | Fixed chsize() problem on windows Extend default timeout on windows clients to 1 year (to avoid timeout problems)
* | Merge with 4.0.16monty@narttu.mysql.fi2003-10-071-5/+6
|\ \ | |/
| * A fix. Please never use 'ulong' here!ram@gw.mysql.r18.ru2003-09-241-1/+1
| |
| * Block SIGPIPE also for not threaded client programs.monty@narttu.mysql.fi2003-09-231-4/+5
| | | | | | | | | | | | | | Added --include and --libs_r options to mysql_config. Added mysql_get_client_version() to client library Fixed some minor benchmark issues
* | Merge bk-internal.mysql.com:/home/bk/mysql-4.1monty@mishka.mysql.fi2003-10-061-0/+1
|\ \ | | | | | | | | | into mishka.mysql.fi:/home/my/mysql-4.1
| * | Fix for bugs #1437, #1446hf@deer.(none)2003-10-041-0/+1
| | |
* | | Move init_compiled_charsets to own filemonty@mishka.mysql.fi2003-10-061-1/+1
|/ / | | | | | | | | Remove dependency of charsets (in my_init) to get smaller binaries when charsets are not used Simple code cleanup
* | SCRUMhf@deer.(none)2003-09-291-1/+1
| | | | | | | | | | | | embedded library some fixes - cleanup procedure changed for embedded library - deletion of embedded mysql->thd
* | Mergehf@deer.(none)2003-09-261-1/+2
|\ \
| * | SCRUM:hf@deer.(none)2003-09-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | SCRUMhf@deer.(none)2003-09-191-0/+3
| | | | | | | | | | | | | | | prepared statements in embedded library. some fixes after testing
* | | SCRUMhf@deer.(none)2003-09-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | SCRUM:hf@deer.(none)2003-09-181-3/+2
|/ / | | | | | | | | | | | | | | | | 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
* | SCRUM:hf@deer.(none)2003-09-171-0/+2
| | | | | | | | prepared statements in embedded library
* | SCRUMhf@deer.(none)2003-09-171-0/+1
| | | | | | | | prepared statements in embedded library
* | SCRUMhf@deer.(none)2003-09-161-6/+7
| | | | | | | | | | | | | | | | 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
* | Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1hf@deer.(none)2003-09-121-0/+1
|\ \ | | | | | | | | | into deer.(none):/home/hf/work/mysql-4.1.stmt
| * | SCRUM:hf@deer.(none)2003-09-121-0/+1
| | | | | | | | | | | | #977 Prepared statements in embedded library
* | | merge with 4.1 treemonty@mashka.mysql.fi2003-09-111-2/+6
|\ \ \ | |/ / |/| |
| * | merge with 4.0.15monty@mashka.mysql.fi2003-09-111-0/+2
| |\ \ | | |/
| | * Cleaned up last bug fixesmonty@mashka.mysql.fi2003-09-091-0/+2
| | | | | | | | | | | | Fix bug in SHOW GRANTS when there is a column privilege but no table privilege
| * | After merge fixes.monty@mashka.mysql.fi2003-09-111-2/+4
| | | | | | | | | | | | Note that mix_innodb_myisam_binlog and union fails after this patch (Will be fixed shortly by maintaners of this code)
* | | SCRUMhf@deer.(none)2003-09-111-4/+7
|/ / | | | | | | | | | | embedded&client library some fixes: zero at the end of the data added mysql_list_fields became 'virtual'
* | merge commit, hope that none of bar and dlenev changes werekostja@oak.local2003-09-031-1/+3
|\ \ | | | | | | | | | lost.
| * \ manual mergekostja@oak.local2003-07-311-1/+3
| |\ \
| | * | few compile-time bugs fixedkostja@oak.local2003-07-181-1/+1
| | | |
| | * | Style fixes, comments for 4.1.1 authorizationkostja@oak.local2003-07-181-2/+2
| | | | | | | | | | | | | | | | | | | | Now special 1-byte packet is used for request of old password Fixed bug with --skip-grant-tables and acl_getroot
| | * | resolved conflict with pulled changesetkostja@oak.local2003-07-091-1/+3
| | |\ \
| | | * | First version of new authentification procedure: now authentification is ↵kostja@oak.local2003-07-011-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | one-stage (instead of two-stage in 4.1) For now following tasks have been done: - PASSWORD() function was rewritten. PASSWORD() now returns SHA1 hash_stage2; for new passwords user.password contains '*'hash_stage2; sql_yacc.yy also fixed; - password.c: new functions were implemented, old rolled back to 4.0 state - server code was rewritten to use new authorization algorithm (check_user(), change user, and other stuff in sql/sql_parse.cc) - client code was rewritten to use new authorization algorithm (mysql_real_connect, myslq_authenticate in sql-common/client.c) - now server barks on 45-byte-length 4.1.0 passwords and refuses 4.1.0-style authentification. Users with 4.1.0 passwords are blocked (sql/sql_acl.cc) - mysqladmin.c was fixed to work correctly with new passwords Tests for 4.0-4.1.1, 4.1.1-4.1.1 (with or without db/password) logons was performed; mysqladmin also was tested. Additional check are nevertheless necessary.
* | | | | SCRUM:hf@deer.(none)2003-08-281-5/+5
|/ / / / | | | | | | | | | | | | Fixed some mess with STDCALL in function's declarations
* | | | ulong is not portableserg@serg.mylan2003-07-271-6/+6
| | | |
* | | | SCRUM - adding client into embedded serverhf@deer.(none)2003-07-231-3/+2
| | | | | | | | | | | | | | | | | | | | error handling fixed fetch_lengths made to work differently in embedded and client cases
* | | | Another fix for "client code in embedded library"hf@deer.(none)2003-07-211-2/+2
| | | |
* | | | Including client code into libmysqldhf@deer.(none)2003-07-141-42/+39
|\ \ \ \ | |/ / / |/| | | | | | | Merging
| * | | SCRUMhf@deer.(none)2003-06-191-32/+3
| | | | | | | | | | | | | | | | | | | | client code added to the embedded library some fixes
| * | | SCRUMhf@deer.(none)2003-06-181-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | including client code into embedded server code to guess what library to use added net_field_length moved to pack.c
| * | | SCRUMhf@deer.(none)2003-06-171-12/+10
| |\ \ \ | | | | | | | | | | | | | | | | | | | | merged conflicts about my previous commit it seems there are some errors left - gonna check...
| * | | | SCRUMhf@deer.(none)2003-06-171-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | client capabilities included into libmysqld some API methods became "virtual" lots of duplicated code removed IMHO all the above made library's code way more pleasant to look at, didn't it?
| * | | | Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1hf@deer.(none)2003-06-091-1/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | into deer.(none):/home/hf/work/mysql-4.1.2way
| * \ \ \ \ Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1hf@deer.(none)2003-06-041-4/+10
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | into deer.(none):/home/hf/work/mysql-4.1.2way
| | * | | | | SCRUMhf@deer.(none)2003-06-041-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simultaneously usable libraries unification of client structures
* | | | | | | implementation of mysql_stmt_reset client endvenu@myvenu.com2003-07-081-0/+1
| |_|_|_|/ / |/| | | | |
* | | | | | Fixed some new memory leaksmonty@narttu.mysql.fi2003-06-241-0/+1
| |_|_|/ / |/| | | | | | | | | | | | | | Updated VC++ files