Commit graph

5545 commits

Author SHA1 Message Date
monty@mashka.mysql.fi
7dede8d303 Updated results after merge from 3.23 2002-11-24 21:39:22 +02:00
monty@mashka.mysql.fi
a976101661 merge with 3.23 to get bugfixes for <=> NULL and --bind-address 2002-11-24 16:37:41 +02:00
monty@mashka.mysql.fi
4575594e1a Rewrote nice handling to make more portable 2002-11-24 16:20:41 +02:00
monty@mashka.mysql.fi
dfb60ca085 Added new ANSI functions LOCALTIME, LOCALTIMESTAMP and CURRENT_USER
Added CEIL as an alias for CEILING
Cleaned up CHECK constraint handling.
(We don't anymore require braces after CHECK)
Added casting to CHAR.
2002-11-24 15:47:19 +02:00
lenz@mysql.com
549eb17475 Merge lgrimmer@work.mysql.com:/home/bk/mysql-4.0
into mysql.com:/space/my/mysql-4.0
2002-11-24 12:56:24 +01:00
Sinisa@sinisa.nasamreza.org
aa1c10e7ee FreeBSD patch by Jeremy Zawodny.
His explanation:

 The socket on which MySQL listens for new connections on a blocking
  socket most of the time but is set to non-blocking during the
  accept() of the new connection.  Due to a bug in the kernel, the new
  socket returned by accept() is a blocking socket but returns the
  O_NONBLOCK flag when queried via fcntl(F_GETFL).  That is, the file
  descriptor and the underlying socket don't agree on the blocking
  mode.

  Since MySQL determines via fcntl(F_GETFL) that the socket is
  non-blocking, it expects the first read() in my_real_read to not
  block, so it doesn't enable the timeout alarm.  However, the read
  does block, and thus there's no timeout alarm.  The thread kill
  (which relies on rescheduling the timeout alarm) also does not work
  as a consequence.

The bug shows itself if you build MySQL with LinuxThreads support
(needed for SMP on FreeBSD).  Issuing a KILL command in MySQL won't be
"noticed" by the "killed" thread until it runs another query--that
makes KILL pretty useless.  And the wait_timeout doesn't work either.
2002-11-23 18:41:26 +02:00
Sinisa@sinisa.nasamreza.org
a96d3ca93a Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2002-11-23 15:52:56 +02:00
Sinisa@sinisa.nasamreza.org
db264ac818 reverting a test that belongs to 3.23 2002-11-23 15:49:12 +02:00
lenz@mysql.com
4c32ffcb68 mysql.server:
- fixed some typos and wording (merged from 3.23 tree)
 - fixed parsing the correct section in /etc/my.cnf ([mysql_server] ->
   [mysql.server]) as documented in the manual
2002-11-22 18:37:00 +01:00
lenz@mysql.com
d882391975 scripts/safe_mysqld.sh
- fix setting of niceness level

support-files/mysql.server.sh
     - applied some fixes from 4.0 mysql.server script
     - fix my.cnf parsing
2002-11-22 18:26:45 +01:00
lenz@mysql.com
ac066c9514 Merge lgrimmer@work.mysql.com:/home/bk/mysql
into mysql.com:/space/my/mysql-3.23
2002-11-22 17:14:36 +01:00
heikki@hundin.mysql.fi
183a4a57aa ut0mem.c:
Flush stderr if we run out of memory, so that the error message more probably finds its way to the error log
2002-11-22 13:59:06 +02:00
monty@mashka.mysql.fi
48e94ed0ca Moved test to correct file 2002-11-22 13:52:40 +02:00
Sinisa@sinisa.nasamreza.org
64dcdd5651 reverting a change 2002-11-22 13:47:01 +02:00
monty@mashka.mysql.fi
b6446addf7 Merge work:/home/bk/mysql into mashka.mysql.fi:/home/my/mysql-3.23 2002-11-22 13:38:37 +02:00
monty@mashka.mysql.fi
e1af5fb24d Fixed bug with indexed NULL column <=> NULL
Fix for Mac OS X shutdown
2002-11-22 13:35:43 +02:00
bell@sanja.is.com.ua
40d9a56a84 Merge abelkin@work.mysql.com:/home/bk/mysql-4.0
into sanja.is.com.ua:/home/bell/mysql/mysql-4.0
2002-11-22 00:34:22 +02:00
bell@sanja.is.com.ua
ed99de7dcc fixed invalidation of query cache
excluded double call of 'invalidate()'
2002-11-22 00:33:15 +02:00
lenz@mysql.com
fd79ed87b5 configure.in:
- actually follow the hints in the comment above and "Remember that 
   regexps needs to quote [ and ] since this is run through m4"...
2002-11-21 22:14:57 +01:00
lenz@mysql.com
373904f799 configure.in:
- fix MYSQL_NO_DASH_VERSION if version number ends on one digit only
   ("comment" test failed when MySQL version was changed from 4.0.5
   to 4.0.5a)
2002-11-21 21:42:44 +01:00
Sinisa@sinisa.nasamreza.org
2e39c89b9d A fix for the bug with:
delete from table where column<=>NULL 
on indexed columns
2002-11-21 22:13:23 +02:00
lenz@mysql.com
621a80b0ff Merge lgrimmer@work.mysql.com:/home/bk/mysql
into mysql.com:/space/my/mysql-3.23
2002-11-21 19:11:47 +01:00
Sinisa@sinisa.nasamreza.org
a7fe266e54 fix error in result 2002-11-21 18:14:27 +02:00
Sinisa@sinisa.nasamreza.org
c1fa8f6485 A fix for --bind-address=hostname 2002-11-21 17:55:49 +02:00
monty@mashka.mysql.fi
e60050c4dd merge with 3.23 2002-11-21 02:28:23 +02:00
monty@mashka.mysql.fi
a65beee00d Added 'table lock' state while MySQL is waiting to get locks for tables. 2002-11-21 02:13:37 +02:00
lenz@mysql.com
e8eba53453 Do-compile:
- applied some changes from the 4.0 tree (enable multiple 
   --conf-environment options, add --with-debug, don't add "-max"
   prefix just because BDB is enabled)
2002-11-20 22:16:29 +01:00
monty@mashka.mysql.fi
dd1b7e0c84 Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2002-11-20 22:57:42 +02:00
monty@mashka.mysql.fi
e65ddf3fc3 Try to optimize the cache buffer size needed for bulk_insert
Fix for shutdown on Mac OS X
2002-11-20 22:56:57 +02:00
serg@serg.mysql.com
acf4a7f8aa Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-11-20 15:17:57 +01:00
serg@serg.mysql.com
35282f8967 bug in _ftb_strstr fixed :) 2002-11-20 15:17:17 +01:00
Sinisa@sinisa.nasamreza.org
4b4febdf64 Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
2002-11-20 14:22:42 +02:00
heikki@hundin.mysql.fi
0062443489 set_var.cc:
Fix potential bus error in 64-bit computers in SHOW VARIABLES, if int is only 32-bit in them
2002-11-19 22:59:01 +02:00
lenz@mysql.com
e042a3d2d8 Merge lgrimmer@work.mysql.com:/home/bk/mysql
into mysql.com:/space/my/mysql-3.23
2002-11-19 20:45:20 +01:00
heikki@hundin.mysql.fi
541c40b000 ha_innobase.cc:
Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table
2002-11-19 17:08:07 +02:00
heikki@hundin.mysql.fi
5fedf659d8 row0mysql.c, row0mysql.h:
Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table
2002-11-19 16:54:52 +02:00
heikki@hundin.mysql.fi
4b73222d5a row0mysql.c, row0mysql.h, ha_innodb.cc, sql_table.cc, handler.h:
Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
2002-11-19 16:27:26 +02:00
lenz@mysql.com
b507a85117 - applied patch for AMD x86-64
(thanks to Gwenole Beauchesne <gbeauchesne@mandrakesoft.com>
2002-11-19 13:45:51 +01:00
monty@mashka.mysql.fi
f9e6ae6f42 merge with 3.23 2002-11-19 12:35:17 +02:00
monty@mashka.mysql.fi
9cc2b10bdf Merge work:/home/bk/mysql into mashka.mysql.fi:/home/my/mysql-3.23 2002-11-19 10:41:03 +02:00
vva@genie.(none)
c9c7e4d503 Merge vvagin@work.mysql.com:/home/bk/mysql-4.0
into genie.(none):/home/vva/work/mysqldump_xml/4.0
2002-11-18 20:53:07 +04:00
vva@genie.(none)
c50ecbb1d0 fix xml-output of mysqldump 2002-11-18 20:50:42 +04:00
serg@serg.mysql.com
7555363f4b add -DHAVE_BROKEN_REALPATH to CFLAGS on FreeBSD (previous patch touched only CXXFLAGS) 2002-11-18 16:50:37 +01:00
serg@serg.mysql.com
4d62e7a2c5 Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql 2002-11-18 16:31:03 +01:00
serg@serg.mysql.com
2725b8208d added -DHAVE_BROKEN_REALPATH for FreeBSD builds 2002-11-18 16:30:19 +01:00
monty@mashka.mysql.fi
ace63a30f7 Merge work:/home/bk/mysql into mashka.mysql.fi:/home/my/mysql-3.23 2002-11-18 16:21:53 +02:00
monty@mashka.mysql.fi
0d0bf207c4 Small change to make key cache code cleaer 2002-11-18 14:59:45 +02:00
salle@geopard.(none)
9609b8926b Merge akeremidarski@work.mysql.com:/home/bk/mysql-4.0
into geopard.(none):/storage/bk/my-new-4.0
2002-11-18 13:45:04 +02:00
salle@geopard.(none)
a1a88ab92b Added tests for boolean operators in select part
Redo of changeset I commited, but failed to push
2002-11-18 13:41:07 +02:00
lenz@mysql.com
2a52c74ab5 Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-build
2002-11-18 11:41:29 +01:00