Commit graph

11150 commits

Author SHA1 Message Date
Sinisa@sinisa.nasamreza.org
9c232685d6 Two bug fixes 2004-01-16 20:05:08 +02:00
lenz@mysql.com
a8e225a27b Merge mysql.com:/space/my/mysql-4.1
into mysql.com:/space/my/mysql-4.1-build
2004-01-16 16:23:54 +01:00
lenz@kallisto.local
78fc9ba5d8 - Fixed BUG#2297: cmd-line-utils/libedit/makelist used a hard-coded
call to /usr/bin/awk - replaced this with the proper autoconf variable
   instead (makelist is now generated out of makelist.sh during the compile
   phase)
2004-01-16 16:22:59 +01:00
Sinisa@sinisa.nasamreza.org
c4223f5387 Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2004-01-15 22:05:24 +02:00
hf@deer.(none)
6dcda5153b SCRUM:
WL#1163 (Making spatial code optional)
Pack of changes to do in sql/ code.
2004-01-15 21:06:22 +04:00
bar@bar.intranet.mysql.r18.ru
1d75d8d5aa Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into bar.intranet.mysql.r18.ru:/usr/home/bar/mysql-4.1
2004-01-15 17:08:45 +04:00
bar@bar.intranet.mysql.r18.ru
db83208d36 charset.c:
http://bugs.mysql.com/bug.php?id=2386
  Index.xml file larger than 1024*16
  Fix for the above bug.
2004-01-15 17:07:29 +04:00
lenz@kallisto.local
3ceef284df - no C++ comments in .c files, please... 2004-01-15 13:32:12 +01:00
bar@bar.intranet.mysql.r18.ru
7aa82031dc I forgot to add the test in the previous commit :(
Blame me!
2004-01-15 16:10:44 +04:00
bar@bar.intranet.mysql.r18.ru
8872fa0458 field.cc:
http://bugs.mysql.com/bug.php?id=2218
  updating utf-8 text field generate nonsense chars
  Fix for the above bug.
2004-01-15 15:58:06 +04:00
bar@bar.intranet.mysql.r18.ru
b63b7bff84 Fic for Bug 2367: INSERT() behaviour is different for different charsets. 2004-01-15 13:27:20 +04:00
bar@bar.intranet.mysql.r18.ru
55d84200f4 item_strfunc.cc:
Unnesessary copying was fixed
2004-01-15 12:12:55 +04:00
jani@rhols221.adsl.netsonic.fi
1cc08ed699 Fixed Bug#2123, mysqld segmentation faulted when it tried to
open a file that already existed. The problem was that end_io_cache()
was called even if init_io_cache() was not. This affected both
OUTFILE and DUMPFILE (both fixed). Sometimes wrongly aligned pointer was freed,
sometimes mysqld core dumped.

Other problem was that select_dump::send_error removed the dumpfile,
even if it was created by an earlier run, or by some other program, if
the file permissions just permitted it. Fixed it so that the file will
only be deleted, if an error occurred, but the file was created by mysqld
just a moment ago, in that thread.

On the other hand, select_export did not handle the corresponding garbage
file at all. Both fixed.

After these fixes, a big part of the select_export::prepare and select_dump::prepare
code became identical. Merged the code into a new function called create_file(),
which is now called by the two latter functions.

Regards,
Jani
2004-01-15 06:48:31 +02:00
jani@rhols221.adsl.netsonic.fi
d12020880d Fixed Bug#2281, --quote is now enabled by default. Can be disabled
with --disable-quote

Added --compatible=ansi mode.

Fixed a non-reported bug in compatible mode; there was a check for
/*!41000 */ at this part of the code, while it obviously should have been
/*!40100 */. So the mysqldump compatiple mode made for 4.0.1 will not work
until 4.10 or later server is released :P Fixed into 4.0.2.
2004-01-15 04:26:57 +02:00
jani@rhols221.adsl.netsonic.fi
0d19a14ade Added handling for ; comment character as there was for #.
Bug#2080
2004-01-15 04:00:21 +02:00
lenz@mysql.com
5c0e14617a Merge lgrimmer@build.mysql.com:/home/bk/mysql-5.0
into mysql.com:/space/my/mysql-5.0
2004-01-14 22:17:01 +01:00
pem@mysql.com
40f21c8aa7 Merge mysql.com:/usr/local/bk/mysql-5.0
into mysql.com:/home/pem/work/mysql-5.0
2004-01-14 18:20:49 +01:00
pem@mysql.comhem.se
a1ff4d65ff Fixed BUG#2267: Lost connect if stored procedure has SHOW FUNCTION STATUS.
(This might not be enough, could be more statements that must be detected...)
2004-01-14 18:18:29 +01:00
lenz@mysql.com
7357bead1f Merge lgrimmer@build.mysql.com:/home/bk/mysql-5.0
into mysql.com:/space/my/mysql-5.0
2004-01-14 16:53:03 +01:00
jani@rhols221.adsl.netsonic.fi
46aea13f20 Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.1
into rhols221.adsl.netsonic.fi:/home/my/bk/mysql-4.1
2004-01-14 17:49:17 +02:00
jani@rhols221.adsl.netsonic.fi
44c5a57cd0 Fixed a non-debug version compilation error and warning. 2004-01-14 17:48:38 +02:00
serg@serg.mylan
e883ae0915 compilation error fixed 2004-01-14 16:42:08 +01:00
serg@serg.mylan
59472975a0 Merge bk-internal:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-01-14 16:40:51 +01:00
bar@bar.intranet.mysql.r18.ru
9b9690dfaa Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into bar.intranet.mysql.r18.ru:/usr/home/bar/mysql-4.1
2004-01-14 17:33:50 +04:00
bar@bar.intranet.mysql.r18.ru
cc21589839 item_strfunc.cc:
We don't need to copy if start is 0, we can return the original value.
2004-01-14 17:26:30 +04:00
bell@sanja.is.com.ua
4714f690f1 assigned correct lex->current_select for derived tables (BUG#2349)
moved LIMIT initialialization, because it is need only for single select derived table
2004-01-14 15:15:42 +02:00
serg@serg.mylan
ea61b7886b Merge bk-internal:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-01-14 14:08:56 +01:00
ram@gw.mysql.r18.ru
7b652e9a29 fix for the 2361 bug: ALTER TABLE ... DROP PRIMARY KEY drops a non-primary key
"PRIMARY" has been replaced by primary_key_name.
2004-01-14 16:01:55 +04:00
serg@serg.mylan
f1c7527b60 Merge bk-internal:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1-bug
2004-01-14 12:47:04 +01:00
pem@mysql.comhem.se
370a43a32a Fixed BUG#2329: Crash if insert with variable name in stored procedure.
Found a few more places in the parser (insert, replace and update) where
local stored procedure variables should not be recognized.
2004-01-14 12:47:03 +01:00
serg@serg.mylan
7e28e936ec show create tests 2004-01-14 12:29:30 +01:00
serg@serg.mylan
fd352c2284 bugs #2280, #2281 - show create table should always return a valid sql statement 2004-01-14 11:52:25 +01:00
ram@gw.mysql.r18.ru
4b91183cde Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b2361
2004-01-14 14:36:57 +04:00
bar@bar.intranet.mysql.r18.ru
362d697c9f item_strfunc.cc:
Comment typo fix
  ,
2004-01-14 14:02:51 +04:00
jani@rhols221.adsl.netsonic.fi
2efb415121 - Added missing documentation to some mysql.cc options.
- Fixed Bug#2346
- Fixed Bug#2378
- Fixed bug in pager (no Bug#ID (?))
- Added support for new special situations option type, GET_DISABLED.
  See handling of --debug in mysql.cc. compiled wihtout debugging, as an
  example.
2004-01-14 04:58:37 +02:00
lenz@kallisto.local
ca27da12fe - link the mysql client RPM against libreadline instead of libedit
(BUG 2289)
2004-01-13 19:55:37 +01:00
heikki@hundin.mysql.fi
8f6f7502d1 srv0start.c, srv0srv.c:
If UNIV_SYNC_DEBUG was switched on, the error monitor thread could reserve a mutex BEFORE the sync debug system was initialized, and that caused a sync debug assertion in startup: move the 2 sec. sleep to a safer place; note that this is only heuristics, and in theory it can assert still
2004-01-13 17:13:03 +02:00
bar@bar.intranet.mysql.r18.ru
81f10f9f07 item_strfunc.cc:
Unnesessary code was removed. Comment was added.
2004-01-13 17:27:21 +04:00
ram@gw.mysql.r18.ru
9a9faeb03b Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b2361
2004-01-13 17:27:13 +04:00
ram@gw.mysql.r18.ru
646d692510 a fix (bug #2361: ALTER TABLE ... DROP PRIMARY KEY drops a non-primary key). 2004-01-13 16:18:37 +04:00
greg@mysql.com
0c91129a38 Minor Novell supplied changes for 4.1 (inside netware directory) 2004-01-13 01:10:21 -01:00
heikki@hundin.mysql.fi
c6c2478f8c row0sel.c:
Improve previous push: save 1000 bytes of thread stack in non-error cases
2004-01-13 04:10:20 +02:00
heikki@hundin.mysql.fi
bd37416e09 row0sel.c:
If MySQL tries to do SELECT from an InnoDB table, but has set no table locks at all in ::external_lock(), print a descriptive error message and assert; some subquery bugs were of this type
2004-01-13 04:05:38 +02:00
guilhem@mysql.com
4cbf1e5150 Merge gbichot@213.136.52.20:/home/bk/mysql-4.1
into mysql.com:/home/mysql_src/mysql-4.1
2004-01-12 21:06:21 +01:00
guilhem@gbichot2
0b16ef245f Fix for BUG#2333 "ALTER DATABASE on inexistent database hangs the client":
mysql_alter_db() now returns -1 in case of error, so that mysql_execute_command()
calls send_error().
2004-01-12 21:05:41 +01:00
serg@serg.mylan
6fd6a9a747 Merge serg.mylan:/usr/home/serg/Abk/mysql-4.1
into serg.mylan:/usr/home/serg/Abk/mysql-4.1-bug
2004-01-12 18:11:54 +01:00
serg@serg.mylan
f7d4410b57 checking 2nd level of FT index destroyed info->lastkey and CHECK TABLE erroneously treated table as corrupted
bug#2190
2004-01-12 17:43:39 +01:00
bar@bar.intranet.mysql.r18.ru
042fe0bed4 charset.c:
Fixed: client crashed when there are no Index.xml file.
2004-01-12 14:31:04 +04:00
guilhem@gbichot2
ecf8118cff Detect unexpected return codes of mysqltest in mysql-test-run.
This way, a crash of mysqltest will be visible in the test logs
(output of mysql-test-run).
2004-01-11 18:15:19 +01:00
Sinisa@sinisa.nasamreza.org
ba029973fa null.result, null.test:
Fix for a bug #2219, regarding a bad cast to integer from NULL
item_func.h:
  Fix for a bug #2219, regarding a bad cast to integer from NULL
sql_parse.cc:
  A fix for a bug #2207, with mysql server haning on option setting
2004-01-09 22:28:29 +02:00