Commit graph

76 commits

Author SHA1 Message Date
serg@serg.mylan
fcf813ac76 typo fixed 2004-04-28 16:40:21 +02:00
serg@serg.mylan
5454e5f902 memory overflow in replace.c fixed 2004-04-28 15:46:08 +02:00
serg@serg.mylan
20ce55753f don't mention max row size, it's storage-engine dependent 2004-04-27 23:03:25 +02:00
monty@mysql.com
e27960a44e Ensure that install_test_db.sh script works with both 'make install' and 'make_binary_distribution' layouts
Abort if we can't allocate memory for table cache
Fix bug with multi-update-tables and BDB tables.
2004-03-12 01:10:22 +02:00
paul@teton.kitebird.com
4bbb3573ac Reword comment/help message.
Fix comment typos. (Skipp -> Skip)
2004-03-09 11:48:32 -06: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
monty@narttu.mysql.fi
446d40e880 After merge fixes 2003-10-07 00:23:29 +03:00
monty@narttu.mysql.fi
fa823857d3 Merge with 3.23.58 2003-10-06 21:21:04 +03:00
monty@narttu.mysql.fi
0a241aa2ed Portability fix 2003-10-06 20:31:35 +03:00
monty@narttu.mysql.fi
5f164e2f70 Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into narttu.mysql.fi:/my/mysql-4.0
2003-09-23 13:36:25 +03:00
monty@narttu.mysql.fi
f05a1c8394 Block SIGPIPE also for not threaded client programs.
Added --include and --libs_r options to mysql_config.
Added mysql_get_client_version() to client library
Fixed some minor benchmark issues
2003-09-23 13:36:01 +03:00
lenz@mysql.com
40cabaa773 - fixed several typos ("uppdate"->"update" and "tryed"->"tried") 2003-09-19 18:34:57 +02:00
lenz@mysql.com
ebfa41086d - backported compatibility fix for extra/resolveip.c from 4.0
to be able to compile on HP-UX 10.20 (which does not have in_add_t).
2003-09-11 13:36:08 +02:00
jani@rhols221.adsl.netsonic.fi
fc2fe36474 Removed restriction not to be able use non regular files. 2003-08-28 21:27:25 +03:00
monty@narttu.mysql.fi
8a77f97079 Add detection of in_addr_t
Add pack_bits to pack_reclength for dynamic rows.  This solves buffer a possible buffer overflow on update.
(This will probably solve bug #563)
Fix test for available file descriptors in mysqltest
Fixed core dump bug in replication tests when running without transactional table support
2003-08-28 06:08:17 +03:00
jani@rhols221.adsl.netsonic.fi
5f8ef50b35 Added a warning to my_print_defaults if --verbose is given
and --defaults-file is a non-existing or non-regular file.
Bug#755
2003-08-27 19:22:14 +03:00
serg@serg.mylan
e3a3d00c77 merged 2003-08-21 21:39:22 +02:00
guilhem@mysql.com
f26106fe64 Fix for 64-bit CPUs (u_long is 64 bit there, but in_addr_t is always uint32).
That's to make resolveip work on our FreeBSD-5.0/Sparc64 build host.
2003-08-18 20:01:38 +02:00
paul@ice.local
bc8d48920e perror.c:
fix typo.
2003-07-12 11:45:43 -05:00
monty@mashka.mysql.fi
6051b2f998 Fixed multi-table-delete for InnoDB tables
Novell patches
2003-02-17 02:14:37 +02:00
serg@serg.mysql.com
1ced5948f0 low-level error messages cleanup 2003-01-28 17:42:08 +01:00
monty@mashka.mysql.fi
689578a099 Fixes for Netware
Call pthread_mutex_destroy() on not used mutex.
Changed comments in .h and .c files from // -> /* */
Added detection of mutex on which one didn't call pthread_mutex_destroy()
Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
Added optimisation for ORDER BY NULL
2003-01-28 08:38:28 +02:00
monty@mashka.mysql.fi
54ad6de1d9 Portability fix 2003-01-09 11:11:06 +02:00
jani@hynda.(none)
6cd2eaee1f Fixed a couple of bugs. 2003-01-08 15:43:56 +02:00
jani@hynda.(none)
4af985f4e3 Added new program, mysql_waitpid. 2003-01-07 19:04:41 +02:00
heikki@hundin.mysql.fi
1f7ddcb510 perror.c:
Add to perror the code 150 about wrong foreign key def
2002-12-14 22:38:33 +02:00
monty@mashka.mysql.fi
f9e6ae6f42 merge with 3.23 2002-11-19 12:35:17 +02:00
lenz@mysql.com
996255648b - Applied required modifications for automake 1.5
- "make distcheck" needs to be fixed
2002-11-17 16:45:21 +01:00
lenz@mysql.com
3cf7acb756 - Applied required modifications for automake 1.5
- some additional small fixes
 - added "depcomp" for automake 1.5
2002-10-01 21:57:10 +02:00
monty@mashka.mysql.fi
2aecdd1a91 Big code cleanup/review before 4.0.2 release.
(All commit emails since 4.0.1 checked)
This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
2002-06-11 11:20:31 +03:00
monty@hundin.mysql.fi
544f95c451 merge with 3.23 2002-06-02 20:46:03 +03:00
monty@hundin.mysql.fi
e2a116411e Portability fixes for SCO and HPUX
Change TRUNCATE(number) to truncate towards zero for negative numbers
Fix NULL handling for DESCRIBE table_name
2002-05-31 15:22:38 +03:00
jani@hynda.(none)
c961494444 Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.

Changed some exit code names and corresponding numbers.

Fixed a bug in mysqld.cc, in replication related options.

Added a global flag in my_getopt, which can be set by any program
that is using my_getopt, which tells whether the client should
print the error message itself, or whether my_getopt should do it.
The default is that my_getopt will print the error messages.
2002-05-29 15:07:30 +03:00
monty@hundin.mysql.fi
bbebc75163 merge with 3.23.51 2002-05-27 23:52:21 +03:00
monty@hundin.mysql.fi
07886933b8 Split raid C function to separate file to make things more portable.
Fixed some portability things in my_gethostbyname_r
Portability fix for type_decimal.test
2002-05-27 10:02:00 +03:00
jani@hynda.(none)
a5ec0a90ea moved my_getopt.h under client_priv.h
Changed my_print_defaults, mysql_install, perror, resolve_stack_dump,
resolveip and pack_isam to use my_getopt.
2002-05-22 23:54:24 +03:00
miguel@hegel.local
3facae335e Sergei's MyODBC fix 2002-05-12 23:01:45 -03:00
serg@serg.mysql.com
900788b2a1 init_dynamic_array MyODBC compatibility fix 2002-04-28 21:22:37 +00:00
monty@hundin.mysql.fi
b0ea238d2e merge 2002-01-02 22:02:03 +02:00
monty@hundin.mysql.fi
4b877e0088 Added macros for nice TIMESPEC usage.
Fixes for building MySQL with gcc 3.0
Added SIGNED / UNSIGNED casts
Fixed core dump bug in net_clear() with libmysqld.
Back to using semaphores in query cache.
Added 'Null' and 'Index_type' to SHOW INDEX.
2002-01-02 21:29:41 +02:00
monty@hundin.mysql.fi
43f2238c72 Portability fix for SCO 2001-12-27 15:16:08 +02:00
sasha@mysql.sashanet.com
24918973bf some work on mysql_install 2001-12-25 10:42:53 -07:00
monty@hundin.mysql.fi
836f1608f7 Merge with 3.23.47 2001-12-15 05:12:21 +02:00
monty@hundin.mysql.fi
61be9477ec Removed not used functions from sql_cache
Added new tests to testsuite.
2001-12-14 16:02:41 +02:00
sasha@mysql.sashanet.com
f7acf09d9c slave-skip-errors
added extra/mysql_install.c - will work on it in 4.0, but it does not hurt
to have it sit in 3.23 tree for now since it will eventually be backported 
to 3.23 anyway
2001-12-12 18:55:33 -07:00
monty@hundin.mysql.fi
b658662ae4 Update copyright
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
2001-12-06 14:10:51 +02:00
monty@hundin.mysql.fi
e4bdf26066 Small safety fix 2001-11-28 02:24:22 +02:00
monty@hundin.mysql.fi
d3288575de Patch for SCO
Update test results for MySQL 4.0
2001-11-26 03:52:23 +02:00
monty@hundin.mysql.fi
fd0780493d merge with 3.23.44 2001-11-04 16:14:09 +02:00
monty@hundin.mysql.fi
0716bf4d0e Portability fixes 2001-10-31 20:28:43 +02:00