bell@sanja.is.com.ua
754d941eca
fixed:
...
==2761== Thread 10:
==2761== Conditional jump or move depends on uninitialised value(s)
==2761== at 0x81913BB: find_best(JOIN*, unsigned long long, unsigned, double, double) (sql_select.cc:2689)
==2761== by 0x8191030: find_best_combination(JOIN*, unsigned long long) (sql_select.cc:2599)
2003-11-04 20:50:01 +02:00
bell@sanja.is.com.ua
09f780daad
fixed:
...
==2761== Thread 10:
==2761== Conditional jump or move depends on uninitialised value(s)
==2761== at 0x818F580: make_join_statistics(JOIN*, st_table_list*, Item*, st_dynamic_array*) (sql_select.cc:1850)
==2761== by 0x818B705: JOIN::optimize() (sql_select.cc:578)
2003-11-04 20:23:39 +02:00
pem@mysql.comhem.se
c39e25a2c3
Removed trailing blank lines in some errmsg.txt files, as it counts
...
as an error message (which is harmless, but confusing when you
compare the output from comp_err for different language files).
2003-11-04 18:32:33 +01:00
monty@mysql.com
6622d6f8cd
Fixed access to uninitialized memory in protocol::store_time
2003-11-04 14:59:38 +02:00
monty@narttu.mysql.fi
669365b41c
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into narttu.mysql.fi:/my/mysql-4.1
2003-11-04 14:09:54 +02:00
monty@narttu.mysql.fi
f763d4c31d
Removed some warnings reported by valgrind
...
After merge fixes.
Now code compiles, but there is still some valgrind warnings that needs to be fixed
2003-11-04 14:09:03 +02:00
bell@sanja.is.com.ua
909c229c32
avoid problem when all tables are const
2003-11-04 13:28:36 +02:00
bell@sanja.is.com.ua
7c49da1e4a
fixed problem with UNION flags
2003-11-04 12:51:01 +02:00
bell@sanja.is.com.ua
e3836d643f
avoid writting junk
2003-11-04 11:20:00 +02:00
monty@narttu.mysql.fi
4e4725377d
Merge with 4.0
2003-11-04 09:40:36 +02:00
monty@narttu.mysql.fi
30af2d0f49
Fixed typo in last changeset
2003-11-04 01:27:23 +02:00
monty@narttu.mysql.fi
6b79cd5c23
Merge
2003-11-03 22:48:03 +02:00
monty@narttu.mysql.fi
085b1c5608
Some simple things missing for last changeset
2003-11-03 22:18:16 +02:00
konstantin@mysql.com
2aff1b520b
Merge mysql.com:/home/kostja/mysql/mysql-4.0-root
...
into mysql.com:/home/kostja/mysql/mysql-4.0-1724
2003-11-03 22:53:42 +03:00
bell@sanja.is.com.ua
dde384d9ea
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-print_subselect-4.1
2003-11-03 20:43:21 +02:00
bell@sanja.is.com.ua
d03bdc7628
removed debug output
2003-11-03 20:42:55 +02:00
guilhem@mysql.com
19c2162bdc
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/home/mysql_src/mysql-4.0
2003-11-03 18:25:47 +01:00
guilhem@mysql.com
fbc54c139d
When we delete the slave's temp tables from memory, we reset
...
rli->save_temporary_tables and slave_open_temp_tables
(in old 4.0 you could make "SHOW STATUS LIKE 'slave_open_temp_tables'" grow
indefinitely by doing RESET SLAVE and replicating always the same CREATE
TEMPORARY TABLE).
It's critical to reset save_temporary_tables to 0 (otherwise you may later
read memory which has been freed) so this changeset should go into 4.1.
2003-11-03 18:24:01 +01:00
konstantin@mysql.com
0143e48568
fix for bug #1724 'WHERE ... IN() optimizer behaviour
...
has changed since 4.0.14'
We need to calculate cost of RANGE
scan if it is present instead of cost of
FULL scan.
2003-11-03 19:56:01 +03:00
monty@narttu.mysql.fi
a444a3449f
Simplified 'wrong xxx name' error messages by introducing 'general' ER_WRONG_NAME error
...
Cleaned up (and disabled part of) date/time/datetime format patch. One can't anymore change default read/write date/time/formats.
This is becasue the non standard datetime formats can't be compared as strings and MySQL does still a lot of datetime comparisons as strings
Changed flag argument to str_to_TIME() and get_date() from bool to uint
Removed THD from str_to_xxxx functions and Item class.
Fixed core dump when doing --print-defaults
Move some common string functions to strfunc.cc
Dates as strings are now of type my_charset_bin instead of default_charset()
Introduce IDENT_QUOTED to not have to create an extra copy of simple identifiers (all chars < 128)
Removed xxx_FORMAT_TYPE enums and replaced them with the old TIMESTAMP_xxx enums
Renamed some TIMESTAMP_xxx enums to more appropriate names
Use defines instead of integers for date/time/datetime string lengths
Added to build system and use the new my_strtoll10() function.
2003-11-03 14:01:59 +02:00
bell@sanja.is.com.ua
414478f397
after review fix
2003-11-03 13:44:23 +02:00
bell@sanja.is.com.ua
c56e75e2c1
after review fix
2003-11-03 12:28:36 +02:00
bell@sanja.is.com.ua
e025adb403
Merge
2003-11-03 08:47:27 +02:00
bell@sanja.is.com.ua
abfa5514e4
merge
2003-11-02 17:29:31 +02:00
bell@sanja.is.com.ua
777316c3e1
fixed BUG#1645
...
all calls of fix_fields() are inspected
(copy of cset which I lost in accidatly tree delete)
2003-11-02 17:27:35 +02:00
bell@sanja.is.com.ua
74ddfaadda
after review fix
2003-11-02 16:56:39 +02:00
monty@narttu.mysql.fi
3ebe794733
Portability fix
2003-11-02 16:38:27 +02:00
bell@sanja.is.com.ua
42fb7d1c07
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-errs-4.1
2003-11-02 16:35:38 +02:00
bell@sanja.is.com.ua
33f6f72979
join_free now is method of JOIN and commented
...
dependence should mean uncacheability
2003-11-02 16:31:22 +02:00
monty@mysql.com
306ffd74b4
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/my/mysql-4.0
2003-11-02 15:55:25 +02:00
monty@mysql.com
4668b54837
Call my_sync() after all data is written to .frm file
...
Added my_sync() to mysys which will do fsync/fdatasync/_commit() on a file.
2003-11-02 15:55:02 +02:00
bell@sanja.is.com.ua
d98487ac20
merge
2003-11-02 15:52:40 +02:00
bell@sanja.is.com.ua
532a6f2264
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-like-4.1
2003-11-02 14:02:14 +02:00
monty@mysql.com
f66d074403
Merge of key_map fix (used my fix as it was more general)
2003-11-02 14:02:13 +02:00
monty@mysql.com
cf535556c6
Cleanups (comments and compiler warnings)
...
dded init of variable to fix core dump on startup errors
2003-11-02 14:00:25 +02:00
bell@sanja.is.com.ua
e32a1c923a
fixed locking problem with innodb & subqueries (BUG#1708)
...
tests with innodb moved to separate file
2003-11-02 13:53:38 +02:00
bell@sanja.is.com.ua
cac0c0ae6e
key_map is class for now => can't be printed directly
...
(found during BUG#1708 investigation)
2003-11-01 21:05:17 +02:00
bell@sanja.is.com.ua
3e10f80682
fixed part of BUG#1708
...
(test suite will be with next part)
2003-11-01 19:02:43 +02:00
guilhem@mysql.com
c1f7f33960
4 small items in this:
...
- when we don't have in_addr_t, use uint32.
- a forgotten initialization of slave_proxy_id in sql/log_event.cc (was not really "forgot", was
"we needn't init it there", but there was one case where we needed...).
- made slave_proxy_id always meaningful in THD and Log_event, so we can
rely more on it (no need to test if it's meaningful). THD::slave_proxy_id
is equal to THD::thread_id except for the slave SQL thread.
- clean up the slave's temporary table (i.e. free their memory) when slave
server shuts down.
2003-10-31 23:20:23 +01:00
bell@sanja.is.com.ua
dba82596aa
merge
2003-10-31 23:03:27 +02:00
bell@sanja.is.com.ua
0747324ede
merge
2003-10-31 22:14:49 +02:00
serg@serg.mylan
d1bfa5c598
small fix for max_user_connections. everything else will be pulled from 4.0
2003-10-31 15:53:54 +01:00
konstantin@oak.local
e3bf30fdfb
follow-up to Sanja fix:
...
fix_fields() never accepts (THD *)(0)
2003-10-31 17:52:00 +03:00
serg@serg.mylan
13b5f71844
post-merge fixes
2003-10-31 15:49:59 +01:00
konstantin@mysql.com
f9015d5ac8
thd->query assignment moved out
...
of lock scope
2003-10-31 17:03:08 +03:00
serg@serg.mylan
b1f5a03685
Merge bk-internal:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2003-10-31 14:25:38 +01:00
konstantin@mysql.com
35fe0d898d
Merge kosipov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/kostja/mysql/mysql-4.1-root
2003-10-31 15:42:27 +03:00
konstantin@oak.local
d4cc4a3ca1
old_total_warn_count is not used
...
and was removed from THD
2003-10-31 15:15:13 +03:00
bell@sanja.is.com.ua
5ad2f38f5d
amall fix
2003-10-31 11:52:01 +02:00
serg@serg.mylan
74551a72ec
Merge bk-internal:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2003-10-31 10:34:34 +01:00