summaryrefslogtreecommitdiff
path: root/sql-common
Commit message (Collapse)AuthorAgeFilesLines
* Fixes after mergemonty@narttu.mysql.fi2003-10-081-4/+0
|
* Fix for bugs #1437, #1446hf@deer.(none)2003-10-041-1/+2
|
* SCRUMhf@deer.(none)2003-09-291-1/+6
| | | | | | embedded library some fixes - cleanup procedure changed for embedded library - deletion of embedded mysql->thd
* Mergehf@deer.(none)2003-09-261-3/+4
|\
| * SCRUM:hf@deer.(none)2003-09-261-3/+4
| | | | | | | | | | | | | | | | | | | | | | 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-3/+6
| | | | | | | | | | 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-4/+4
|/ | | | | | | | | 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-1/+2
| | | | prepared statements in embedded library
* SCRUMhf@deer.(none)2003-09-171-4/+5
| | | | prepared statements in embedded library
* SCRUMhf@deer.(none)2003-09-161-8/+9
| | | | | | | | 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
* SCRUM:hf@deer.(none)2003-09-121-1/+2
| | | | #977 Prepared statements in embedded library
* SCRUMhf@deer.(none)2003-09-111-1/+3
| | | | | | 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-102/+68
|\ | | | | | | lost.
| * manual mergekostja@oak.local2003-07-311-102/+67
| |\
| | * merge commitkostja@oak.local2003-07-311-1/+1
| | |
| | * Style fixes, comments for 4.1.1 authorizationkostja@oak.local2003-07-181-6/+7
| | | | | | | | | | | | | | | Now special 1-byte packet is used for request of old password Fixed bug with --skip-grant-tables and acl_getroot
| | * Preliminary support for options --secure-auth, kostja@oak.local2003-07-081-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | --old-passwords Support for option --old-protocol was removed. Some test performed. Tests for SSL and replication are pending. More strict following to specification for --old-passwords is in the TODO.
| | * Bug fixes for authenticationkostja@oak.local2003-07-041-10/+14
| | | | | | | | | | | | OLD_PASSWORD made a keyword to allow set password=old_password('abc') constructions.
| | * First version of new authentification procedure: now authentification is ↵kostja@oak.local2003-07-011-102/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+2
| | | | | | | | | | | | Fixed some mess with STDCALL in function's declarations
* | | Fix for bug in ROLLUP when all tables where 'const' tables (Bug #714)monty@narttu.mysql.fi2003-08-261-1/+1
| | |
* | | After merge fixesmonty@mashka.mysql.fi2003-08-191-38/+83
|/ / | | | | | | | | Use server character set if --default-character-set is not used Added convert_string() for more efficient alloc+character-set convert of strings
* | Fix for #886hf@deer.(none)2003-07-281-0/+4
| |
* | SCRUM - adding client into embedded serverhf@deer.(none)2003-07-231-6/+23
| | | | | | | | | | error handling fixed fetch_lengths made to work differently in embedded and client cases
* | SCRUMhf@deer.(none)2003-07-181-20/+5
| | | | | | | | | | Including client code into embedded library fixes
* | Some mistakes fixedhf@deer.(none)2003-07-141-18/+0
| |
* | Resolving conflictshf@deer.(none)2003-07-042-23/+112
|\ \ | |/ |/|
| * SCRUMhf@deer.(none)2003-07-041-4/+0
| | | | | | | | | | | | Including client code into embedded library Code trimming (fixes of comments etc)
| * Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1hf@deer.(none)2003-06-191-0/+21
| |\ | | | | | | | | | into deer.(none):/home/hf/work/mysql-4.1.2way
| * | SCRUMhf@deer.(none)2003-06-191-9/+0
| | | | | | | | | | | | | | | client code added to the embedded library some fixes
| * | SCRUMhf@deer.(none)2003-06-182-0/+32
| | | | | | | | | | | | | | | | | | including client code into embedded server code to guess what library to use added net_field_length moved to pack.c
| * | Last part of resolving conflicts after pullhf@deer.(none)2003-06-181-7/+3
| | | | | | | | | | | | Some intersections with Monty encountered
| * | SCRUMhf@deer.(none)2003-06-171-443/+382
| |\ \ | | | | | | | | | | | | | | | | merged conflicts about my previous commit it seems there are some errors left - gonna check...
| * | | SCRUMhf@deer.(none)2003-06-172-14/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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?
* | | | Fixed some new memory leaksmonty@narttu.mysql.fi2003-06-241-7/+8
| |_|/ |/| | | | | | | | Updated VC++ files
* | | - added sql-common subdirectory and sql_common.h to source distributionlenz@kallisto.local2003-06-181-0/+21
| |/ |/|
* | mergemonty@narttu.mysql.fi2003-06-161-4/+4
|\ \
| * | Fix for compilation error.hf@deer.(none)2003-06-161-4/+4
| | | | | | | | | | | | | | | Compiler can signal error when init_sigpipe_variables expands as empty place. Had to remove all semicolons after init_sigpipe_variables
* | | Fixes for make_win_src_distributionsmonty@narttu.mysql.fi2003-06-151-1/+1
|/ / | | | | | | Removed compiler warnings
* | Cleanup after split of libmysql.c to client.c and libmysql.c. A 4.1 ↵monty@narttu.mysql.fi2003-06-141-441/+380
|/ | | | | | | | master/slave will now use the 4.1 protocol Fixed wrong value for SQLSTATE_LENGTH Added CLIENT_REMEMBER_OPTIONS to mysql_real_connect() Changed mysql_port and mysql_unix_port to mysqld_xxxx
* client.c:bar@bar.mysql.r18.ru2003-06-061-1/+1
| | | | Compilation falure fix
* After merge fixesmonty@narttu.mysql.fi2003-06-051-27/+27
|
* client.c:venu@myvenu.com2003-06-041-0/+4
| | | | Missed file from earlier commit
* Windows build fixups (Fix for slave_net_timeout)venu@myvenu.com2003-06-031-1/+1
|
* Fix windows build after applyiing the changes from new client.c(sql-common)venu@myvenu.com2003-06-031-1/+205
| | | | | NOTE: Still the build fails to compile core server on Windows due to slave_net_timeout linker error from client.obj and make sure to have the next changeset, which fixes this.
* SCRUM:hf@deer.(none)2003-06-031-33/+32
| | | | splittiln common client's parts
* SCRUM:hf@deer.(none)2003-05-311-259/+325
| | | | | | | | | | | | | | Here is another pack of changes about gathering common client code in sql-common/client.c. Now i symlink the client.c from sql/ and libmysql/. These directories have client_settings.h files to be included to client.c. It contains defines and declarations to compile client.c in appropriate manner. Also i've added include/sql_common.h, containing declarations of what is exported from client.c I removed as many #ifdef-s from client.c as i dared to. I think it's better push it with some extra #ifdef-s now (of course, if everythihg besides it is ok) so other people can check the code.
* SCRUMhf@deer.mysql.r18.ru2003-05-021-0/+2299
| | | | | common parts of libmysql.c and sql/mini_client.cc moved to sql-common/client.c names of functions now are same in both cases
* SCRUMhf@deer.mysql.r18.ru2003-04-231-0/+64
Protocol_cursor class and sql-common/ directory