| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Now special 1-byte packet is used for request of old password
Fixed bug with --skip-grant-tables and acl_getroot
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
--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.
|
| | |
| | |
| | |
| | | |
OLD_PASSWORD made a keyword to allow set password=old_password('abc') constructions.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
|
|/ /
| |
| |
| |
| | |
Use server character set if --default-character-set is not used
Added convert_string() for more efficient alloc+character-set convert of strings
|
| | |
|
| |
| |
| |
| |
| | |
error handling fixed
fetch_lengths made to work differently in embedded and client cases
|
| |
| |
| |
| |
| | |
Including client code into embedded library
fixes
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
Including client code into embedded library
Code trimming (fixes of comments etc)
|
| |\
| | |
| | |
| | | |
into deer.(none):/home/hf/work/mysql-4.1.2way
|
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | | |
Some intersections with Monty encountered
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
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?
|
| |_|/
|/| |
| | |
| | | |
Updated VC++ files
|
| |/
|/| |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Compiler can signal error when init_sigpipe_variables expands as empty place.
Had to remove all semicolons after init_sigpipe_variables
|
|/ /
| |
| |
| | |
Removed compiler warnings
|
|/
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Compilation falure fix
|
| |
|
|
|
|
| |
Missed file from earlier commit
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
splittiln common client's parts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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
|
|
Protocol_cursor class and sql-common/ directory
|