| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Fixed compiler warnings (IRIX C compiler and VC++)
|
| |
|
|
|
|
|
| |
Changed ~Item_func_in() to call cleanup() (to fix memory leak)
Fixed test_multi_statements() test in client_test
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| |
| | |
Fixed chsize() problem on windows
Extend default timeout on windows clients to 1 year (to avoid timeout problems)
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Added --include and --libs_r options to mysql_config.
Added mysql_get_client_version() to client library
Fixed some minor benchmark issues
|
|\ \
| | |
| | |
| | | |
into mishka.mysql.fi:/home/my/mysql-4.1
|
| | | |
|
|/ /
| |
| |
| |
| | |
Remove dependency of charsets (in my_init) to get smaller binaries when charsets are not used
Simple code cleanup
|
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | | |
into deer.(none):/home/hf/work/mysql-4.1.stmt
|
| | |
| | |
| | |
| | | |
#977 Prepared statements in embedded library
|
|\ \ \
| |/ /
|/| | |
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | | |
Fix bug in SHOW GRANTS when there is a column privilege but no table privilege
|
| | |
| | |
| | |
| | | |
Note that mix_innodb_myisam_binlog and union fails after this patch (Will be fixed shortly by maintaners of this code)
|
|/ /
| |
| |
| |
| |
| | |
embedded&client library
some fixes: zero at the end of the data added
mysql_list_fields became 'virtual'
|
|\ \
| | |
| | |
| | | |
lost.
|
| |\ \ |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Now special 1-byte packet is used for request of old password
Fixed bug with --skip-grant-tables and acl_getroot
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
|/ / / /
| | | |
| | | |
| | | | |
Fixed some mess with STDCALL in function's declarations
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
error handling fixed
fetch_lengths made to work differently in embedded and client cases
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | | |
Merging
|
| | | |
| | | |
| | | |
| | | |
| | | | |
client code added to the embedded library
some fixes
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
including client code into embedded server
code to guess what library to use added
net_field_length moved to pack.c
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
merged conflicts about my previous commit
it seems there are some errors left - gonna check...
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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?
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
into deer.(none):/home/hf/work/mysql-4.1.2way
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
into deer.(none):/home/hf/work/mysql-4.1.2way
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
simultaneously usable libraries
unification of client structures
|
| |_|_|_|/ /
|/| | | | | |
|
| |_|_|/ /
|/| | | |
| | | | |
| | | | | |
Updated VC++ files
|