msvensson@neptunus.(none)
3416e42903
BUG#9391 mysqlshow prints incorrect "rows" information
...
- Removed use of mysql->extra_info
- Removed unused function send_records_num
2005-04-13 12:22:20 +02:00
monty@mysql.com
0a6b7aedb2
Remove compiler warnings and remove not used variables
...
(Found during build process)
2005-02-25 16:53:22 +02:00
hf@deer.(none)
196c95e938
Merging conflicts resolved
2005-01-11 21:00:53 +04:00
konstantin@mysql.com
dbd6589851
A fix for Bug#7365 "embedded server for MacOS: problem with prepared
...
statements": no test case, the test case is there already,
libmysqld/examples/client_test.c, we just need to run it on a daily basis.
2005-01-11 18:02:44 +03:00
serg@sergbook.mysql.com
a04fc26c54
manually merged
2004-12-31 15:26:24 +01:00
monty@mishka.local
4f4bbfc279
Merge with 4.1
2004-12-22 13:54:39 +02:00
hf@deer.(none)
72dd42bee6
Tabs removed
2004-12-21 12:31:38 +04:00
hf@deer.(none)
e91a4ce0be
Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1
...
into deer.(none):/home/hf/work/mysql-4.1.clean
2004-12-21 10:26:01 +04:00
hf@deer.(none)
e5125d3e88
Fix to perform correctly with charsets in embedded server
2004-12-21 10:05:58 +04:00
konstantin@mysql.com
9f5f59532c
Fix assertion failure in client_test when linked with the embedded
...
library: stmt_update_metadata (used when we update max_length
in mysql_stmt_store_result) needs valid row->length.
2004-12-19 20:28:52 +03:00
bell@sanja.is.com.ua
1555469b64
merge
2004-11-12 15:36:31 +02:00
monty@mysql.com
0c1bcddbae
After merge fixes
2004-11-03 20:07:17 +02:00
bell@sanja.is.com.ua
5bf7a8c30b
post-merge fix
2004-10-28 14:02:09 +03:00
monty@mysql.com
31122efde7
Merge with 4.1
...
(Includes merge of arena code in 4.1 and 5.0)
2004-09-06 15:14:10 +03:00
konstantin@mysql.com
17c845bcdd
Microsoft VC++ won't compile class C { static const int I=1; }.
...
Putting initialization into .cc will reduce compiler's abilities
to optimize this constant away.
Defines are not OK as they bloat global namespace.
Looking for a way to declare an efficient named constant in reduced
namespace (i. e. in a class).
Let's try enums: normally they should be implicitly casted to int.
Let's see if we really have a compiler which won't do that.
2004-08-28 10:32:27 +04:00
hf@deer.(none)
56a01acac5
Fix for bug #5066(Wrong result after subselect with an error)
...
In this case we have to clear thd->data after errorneous query.
So i just move thd->data cleanup to emb_advanced_command
2004-08-23 13:20:34 +05:00
hf@deer.(none)
c43d7d92dd
Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1
...
into deer.(none):/home/hf/work/mysql-4.1.emb
2004-08-19 15:47:09 +05:00
hf@deer.(none)
0ce4b28b5e
addition to fixes about #4700 , 4701
2004-08-19 15:36:05 +05:00
konstantin@mysql.com
d3e520ce7e
Port of cursors to be pushed into 5.0 tree:
...
- client side part is simple and may be considered stable
- server side part now just joggles with THD state to save execution
state and has no additional locking wisdom.
Lot's of it are to be rewritten.
2004-08-03 03:32:21 -07:00
serg@serg.mylan
4665cec001
bug#4817 catalog name is "def"
2004-07-30 22:15:52 +02:00
hf@deer.(none)
50183677cc
Several fixes to make tests working for embedded library
2004-07-23 00:00:50 +05:00
hf@deer.(none)
94bfeb8393
Fixes for bugs in embedded library:
...
#4700 (Unsigned value returned as signed)
just no appropriate checking
#4701 (Errors returned earlier than expected)
all errors returned from send_command()
#4702 (Result isn't freed properly if there's no retrieval)
flush_use_result has only 'client' version and should
be made 'virtual'
2004-07-22 20:54:25 +05:00
dlenev@brandersnatch.localdomain
09ba29e539
WL#1264 "Per-thread time zone support infrastructure".
...
Added basic per-thread time zone functionality (based on public
domain elsie-code). Now user can select current time zone
(from the list of time zones described in system tables).
All NOW-like functions honor this time zone, values of TIMESTAMP
type are interpreted as values in this time zone, so now
our TIMESTAMP type behaves similar to Oracle's TIMESTAMP WITH
LOCAL TIME ZONE (or proper PostgresSQL type).
WL#1266 "CONVERT_TZ() - basic time with time zone conversion
function".
Fixed problems described in Bug #2336 (Different number of warnings
when inserting bad datetime as string or as number). This required
reworking of datetime realted warning hadling (they now generated
at Field object level not in conversion functions).
Optimization: Now Field class descendants use table->in_use member
instead of current_thd macro.
2004-06-18 10:11:31 +04:00
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