hf@deer.(none)
da3667f63f
fix for bug #3974 ("SHOW FULL PROCESSLIST" crashes the embedded server)
...
server crashed checking thd->priv_user[0] and thd->priv_user is NULL
if NO_EMBEDDED_ACCESS_CHECKS is on.
Now i set it to be the same as thd->user
2004-06-09 23:10:09 +05:00
monty@mysql.com
272c3a2669
After merge fixes
2004-05-27 02:50:42 +03:00
monty@mysql.com
61a6557307
merge with 4.0 to get windows fixes
2004-05-27 00:30:28 +03:00
hf@deer.(none)
78f58ff384
Fix to make Windows compilation smoother
2004-05-26 21:40:27 +05:00
hf@deer.(none)
418dffe205
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into deer.(none):/home/hf/work/mysql-4.1.3744
2004-05-21 22:00:12 +05:00
monty@mysql.com
86a966256b
Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
...
Ensured that all projects compile
Removed compiler warnings
Better setting of server_version variable.
Fix that make_win_src_distribution creates the privilege tables.
2004-05-19 16:38:12 +03:00
hf@deer.(none)
c00bc7a803
Proposed fix for #3744 (embedded server, wrong error message if database is
...
missing)
2004-05-17 12:05:57 +05:00
hf@deer.(none)
e18cd2ea9f
Fixes for #3371 , #3372 , #3374 , #3375 , #3376
2004-05-15 17:07:44 +05:00
monty@mysql.com
42cf92ce37
Fixed many compiler warnings
...
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
2004-04-05 13:56:05 +03:00
konstantin@mysql.com
889790a15c
Simplification: MYSQL_RES *result replaced with MYSQL_DATA result;
...
No need to check for result existence any more, store_result functions
now are shorter.
cli_read_binary_rows rewritten to handle MYSQL_DATA directly.
2004-03-28 17:22:04 +04:00
hf@deer.(none)
2fc0fa6670
Small fix to embedded library
...
we should call check_user in NO_EMBEDDED_ACCESS_CHECKS case
to do necessary initializations
2004-03-27 15:27:36 +04:00
monty@mysql.com
75dda82526
Removed compiler warning
...
Changed _XXX to _MY_XXX to solve conflict problem on Mac OS X
2004-03-18 14:53:38 +02:00
hf@deer.(none)
afc8eace7f
Fix for #1325
...
We just tried to open binlog's file twice in embedded server
2004-03-13 20:11:41 +04:00
konstantin@oak.local
082a01d1e0
Rename:
...
read_statistic -> read_statistics
(statistic is adjective)
2004-03-10 20:12:24 +03:00
acurtis@pcgem.rdg.cyberkinetica.com
0a27eef814
Cleanup ha_checktype() and redundant variables.
2004-03-02 10:08:50 +00:00
monty@mysql.com
e9315f984d
Changed wellformedlen to well_formed_len
...
Fixed that blobs >16M can be inserted/updated
Fixed bug when doing CREATE TEMPORARY TABLE ... LIKE
2004-02-17 01:35:17 +02:00
hf@deer.(none)
e100530b3e
Fix for #2212 (mysql_change_user doesn't work in embedded library)
...
now it's working
2004-02-14 20:26:21 +04:00
hf@deer.(none)
32039398ef
Fix for #2211 (field->def contains invalid values)
2004-02-13 17:20:56 +04:00
hf@deer.(none)
c25fc5c664
Another fix for #2208
...
previous one had error
2004-02-13 11:56:36 +04:00
hf@deer.(none)
5e4a5cb44c
Fix for #1438 (mysql_info always returns 0)
2004-02-12 16:47:57 +04:00
hf@deer.(none)
348bd98e48
Fix for #2208 (multi-query returns wrong result in embedded library)
...
now we execute only one first select during mysql_real_query
others - during 'mysql_next_result'
2004-02-10 17:09:59 +04:00
hf@deer.(none)
7f26ab154c
Fix for #2209
...
mysql->server_status wasn't set after the query
2004-01-27 16:51:11 +04:00
hf@deer.(none)
94b0713ca1
bugfix to #1224
...
code slightly modified with Monty's suggestions
2004-01-27 13:46:47 +04:00
hf@deer.(none)
3348564447
Fix for 1224 (USER() CURRENT_USER() functions in embedded library)
...
Now we return user@host for USER() in embedded library
CURRENT_USER returns empty string if library compiled with
NO_EMBEDDED_ACCESS_CHECKS
2004-01-07 21:30:15 +04:00
hf@deer.(none)
73012f0db2
Merge
2004-01-07 12:54:28 +04:00
konstantin@oak.local
2a25b2617a
Prepared_statement deployed instead of PREP_STMT.
2003-12-20 02:16:10 +03:00
konstantin@oak.local
d37da004f6
THD::lex now points to THD::main_lex like in 5.0
...
All tests pass (client_test included)
2003-12-19 20:52:13 +03:00
hf@deer.(none)
42799cc584
Fix for #2126 (mysql_server_init call shouldn't be needed)
...
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
2003-12-18 15:51:22 +04:00
monty@mysql.com
30e318311b
Fixes for last pull
2003-12-16 14:40:57 +02:00
hf@deer.(none)
1485d9b438
Edited fix for #1224 .
...
strcpy changed to strmake
2003-12-12 18:27:25 +04:00
hf@deer.(none)
5aaa6e61a6
Fix for #1224 in 4.0
...
we didn't specify thd->priv_host properly
2003-12-12 18:00:54 +04:00
monty@mysql.com
e8aef44349
Portability fixes for Windows
2003-12-08 12:25:37 +02:00
hf@deer.(none)
afd0b37816
SCRUM
...
WL#1246 (Query cache in embedded library)
2003-12-01 17:19:10 +04:00
hf@deer.(none)
b04af44923
Fix for Windows bug reported throuhg Miguel
2003-10-21 16:05:17 +05:00
monty@mashka.mysql.fi
b1dba93cdb
Safety fix to detect multiple calls to my_thread_end()
...
Portability fix (For Mac OS X)
2003-10-16 20:55:15 +03:00
hf@deer.(none)
ce6f77a9c5
Fix for #1447
2003-10-06 18:01:11 +05:00
hf@deer.(none)
6b0112549e
Fix for #1488
2003-10-06 17:06:05 +05:00
hf@deer.(none)
a5f9c695df
Fix for #1487
2003-10-06 16:32:38 +05:00
hf@deer.(none)
f576380bc6
Fix for #1470
2003-10-06 12:09:20 +05:00
hf@deer.(none)
8bc13b1874
Fix for bugs #1437 , #1446
2003-10-04 19:28:08 +05:00
hf@deer.(none)
73f2e739b2
Fix for #1430
...
there was an error about sendind prepared parameters to the server
2003-10-01 16:44:57 +05:00
hf@deer.(none)
9dcce9b0f3
fix for #1344
...
handling of init-file option added to embedded library
main problem was killing of output (resulting recordsets etc)
i added checks for empty output in Protocol:: methods
better solution could be special Protocol_nul class to redirect
results to nowhere
2003-09-29 21:07:53 +05:00
hf@deer.(none)
6d3d37c6f8
bugfix for #1375
2003-09-29 21:07:51 +05:00
hf@deer.(none)
cca80f8b58
SCRUM
...
embedded library
some fixes - cleanup procedure changed for embedded library - deletion of
embedded mysql->thd
2003-09-29 14:09:51 +05:00
hf@deer.(none)
5f8e7fef27
Merge
2003-09-26 15:40:26 +05:00
hf@deer.(none)
ba8fa76fa2
SCRUM:
...
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
2003-09-26 15:33:13 +05:00
hf@deer.(none)
192fcb9cc6
Bug fixed
...
null_string wasn't known in libmysqld/lib_sql.cc, that caused compiler's error
i put the declaration of the null_string in mysql_priv.h and renamed it
to my_null_string to reduce the probability of name's intersections
2003-09-25 13:02:45 +05:00
hf@deer.(none)
0868446b3e
SCRUM
...
embedded library
missed memory freeing added
2003-09-19 14:17:55 +05:00
hf@deer.(none)
cda32e123c
SCRUM
...
prepared statements in embedded library.
some fixes after testing
2003-09-19 14:05:28 +05:00
hf@deer.(none)
e89e3ff753
SCRUM
...
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
2003-09-18 18:58:02 +05:00
hf@deer.(none)
7dd4cb58d6
SCRUM
...
prepared statements in embedded library
2003-09-18 12:25:00 +05:00
hf@deer.(none)
ddbca4176d
SCRUM:
...
prepared statements in embedded library
2003-09-17 20:48:53 +05:00
hf@deer.(none)
7a763f3fe3
SCRUM
...
prepared statements in embedded library
2003-09-17 15:18:18 +05:00
hf@deer.(none)
bf017a2eb0
SCRUM
...
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
2003-09-16 16:06:25 +05:00
hf@deer.(none)
efce59fc3f
Monty's merge bug fixed
2003-09-12 13:44:41 +05:00
monty@mashka.mysql.fi
7538242e4f
merge with 4.1 tree
2003-09-11 20:31:40 +03:00
monty@mashka.mysql.fi
73f66f68fd
merge with 4.0.15
2003-09-11 20:24:14 +03:00
hf@deer.(none)
f434b329f5
SCRUM
...
embedded&client library
some fixes: zero at the end of the data added
mysql_list_fields became 'virtual'
2003-09-11 09:46:31 +05:00
hf@deer.(none)
fd77d78804
SCRUM: embedde library
...
Minor fixes
2003-09-10 12:58:26 +05:00
hf@deer.(none)
69283f8091
SCRUM: embedded library
...
mysql_fetch_length fixed for embedded library. Now data length is stored
before the data. Pointers in row still points to the data so you have to
get *(uint*)(data_ptr - sizeof(uint)) to get data length
2003-09-10 12:09:24 +05:00
hf@deer.(none)
90bd948e1e
fix for #1219
2003-09-08 18:49:23 +05:00
hf@deer.(none)
2ba517a3f1
fix for #1210
2003-09-08 13:11:18 +05:00
hf@deer.(none)
95bf984d15
Fix for #1210
...
i fixed this in 4.1 in slightly different way
2003-09-08 13:02:19 +05:00
hf@deer.(none)
c7297eba3e
Fix for LOAD DATA to work with embedded library
2003-09-06 18:50:30 +05:00
hf@deer.(none)
bf3e65b128
SCRUM:
...
Fixed some mess with STDCALL in function's declarations
2003-08-28 13:39:46 +05:00
monty@mashka.mysql.fi
2263e3e51f
Merge with 4.0.14
2003-08-11 22:44:43 +03:00
hf@deer.(none)
a4f899dfc0
SCRUM - adding client into embedded server
...
error handling fixed
fetch_lengths made to work differently in embedded and client cases
2003-07-23 15:23:20 +05:00
hf@deer.(none)
cbff55a59d
SCRUM
...
Including client code into embedded library
fixes
2003-07-18 16:26:35 +05:00
guilhem@mysql.com
9c73d91d54
WL#912 (more user control on relay logs):
...
FLUSH LOGS now rotates relay logs,
and a new variable max_relay_log_size.
Plus a very small bit of code cleaning.
2003-07-06 17:59:54 +02:00
hf@deer.(none)
1374a58cf3
SCRUM
...
client code added to the embedded library
some fixes
2003-06-19 16:38:21 +05:00
hf@deer.(none)
c4e3a624b8
SCRUM
...
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?
2003-06-17 21:32:31 +05:00
hf@deer.(none)
9ad3c1cdca
SCRUM:
...
splittiln common client's parts
2003-06-03 15:02:57 +05:00
monty@narttu.mysql.fi
0688cf904b
Removed not used variable
2003-05-28 03:36:44 +03:00
monty@narttu.mysql.fi
9e4f394e59
Fix reference to not initialized memory
...
Changed handing of priv_host to fix bug in FLUSH PRIVILEGES
2003-04-30 10:15:09 +03:00
serg@serg.mylan
2f45dd04a0
followup to CURRENT_USER() fix
2003-04-29 15:11:45 +02:00
bar@bar.mysql.r18.ru
8103c4c537
CONVERT class was removed
2003-03-18 17:01:32 +04:00
hf@deer.mysql.r18.ru
2be2914a82
Handling of log-error added in embedded server
2003-03-10 14:06:21 +04:00
monty@narttu.mysql.fi
d0d071dca9
Fix for using unitialized mutex when running version compiled with --debug
2003-03-04 15:02:49 +02:00
venu@myvenu.com
ee2b888696
Windows portabilty fixups (last commit caused some errors, so recomitting) - SCRUM
2003-02-20 14:14:37 -08:00
monty@mashka.mysql.fi
acf8993439
Fixed problem when connecting to user without a password.
...
Fixed problem with LIKE and BINARY
2003-02-14 11:47:41 +02:00
monty@mashka.mysql.fi
48558055ed
Move tmp_table_used to THD
...
Optimize depending sub querys
Remove valgrind warnings
2003-02-10 17:59:16 +02:00
serg@serg.mysql.com
170a142e08
ft_init_stopwords() in embedded
2003-01-27 00:14:12 +01:00
monty@mashka.mysql.fi
9af5e6b70a
Avoid memory overruns when buffer_length is too small (when fetching binary data in prepared statements)
2003-01-23 21:49:28 +02:00
monty@mashka.mysql.fi
7436e9ec97
Merge
2003-01-21 21:28:51 +02:00
monty@mashka.mysql.fi
25c393a12e
Portability fixes (for windows)
...
Some changes to the prepared statement protocol to make it easier to use and faster.
2003-01-21 21:07:59 +02:00
hf@deer.mysql.r18.ru
1f6b615677
SCRUM
...
embedded-related changes
2003-01-20 18:47:25 +04:00
hf@deer.mysql.r18.ru
c59bff7c96
SCRUM
...
embedded library trimming
2003-01-15 12:11:44 +04:00
hf@deer.mysql.r18.ru
d8c700891e
Merging&testing
2002-12-17 19:33:25 +04:00
hf@deer.mysql.r18.ru
e3b3b68307
Big purge about embedded library (scrum)
2002-12-16 17:33:29 +04:00
hf@deer.mysql.r18.ru
3517febe97
Resolving merge conflicts
2002-12-12 12:49:56 +04:00
hf@deer.mysql.r18.ru
dcb5293576
Some fixes
2002-12-12 12:16:34 +04:00
monty@mashka.mysql.fi
7e312565c3
Remove usage of acl_getroot() in embedded server.
...
Fixed compilation problem when OPENSSL was enabled.
2002-12-06 22:01:12 +02:00
monty@mashka.mysql.fi
859b688476
Merge with 4.0.6
2002-12-05 19:38:42 +02:00
monty@mashka.mysql.fi
7d681c4449
Copy arguments given to mysql_server_init()
...
Made keybuff_size longlong (To make show variables work similar on 32
and 64 bit systems)
Fixed some 'not initalized variable errors' in multi-table-update.
Fixed memory leak in multi-table-update.
Now all tests works under valgrind without any errors.
2002-12-05 16:38:49 +02:00
hf@genie.(none)
5e8b27c0d3
Pull conflicts resolutions
2002-11-29 12:35:48 +04:00
monty@mashka.mysql.fi
dac6498f9b
Merge with 4.0
2002-11-21 15:56:48 +02:00
hf@genie.(none)
25bd1e9a37
Merged by hands
2002-11-07 12:20:08 +04:00
hf@genie.(none)
3a7c12b22a
Libmysqld improvements
2002-11-06 14:42:44 +04:00
monty@hundin.mysql.fi
1e0538324d
Added back old LARGEFILE handling
...
Fixed reference to freed memory in acl_init()/grant_init()
Fixed possible memory leak. (Could only happen in very strange circumstances)
Fixed bug in ALTER TABLE with BDB tables
Updated mysql-test for valgrind
2002-10-29 21:59:03 +02:00
serg@serg.mysql.com
1a1cafce63
merged
2002-10-25 22:07:04 +00:00