bar@mysql.com
f81edf4afd
A new function to meassure terminal screen cells number for a string.
2004-08-25 11:39:43 +05:00
sergefp@mysql.com
d970586fef
Fix to compile with msvc: converted static const int Item_arena::* to enum members, undefine ERROR
2004-08-24 14:44:15 +04:00
rburnett@build.mysql.com
69ec557494
Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into build.mysql.com:/users/rburnett/mysql-4.1
2004-08-20 21:48:16 +02:00
hf@deer.(none)
0bda11b695
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into deer.(none):/home/hf/work/mysql-4.1.emb
2004-08-20 10:50:23 +05:00
serg@serg.mylan
62722e7b05
merged
2004-08-20 00:52:43 +02:00
rburnett@build.mysql.com
d3e6b5c3ad
This fixes a Windows build failure. How did this build on Linux?
...
logging_ok:
Logging to logging@openlogging.org accepted
mysql_priv.h, my_time.h:
Moved declaration of days_in_month array from mysql_priv.h to my_time.h to correct Windows build issues
2004-08-19 22:40:31 +02:00
ingo@mysql.com
ad7f0fa51e
Build bug on 64-Bit platforms.
...
Removed improper casts.
Thanks to Joerg Bruehe for the fix.
2004-08-19 21:41:10 +02:00
pem@mysql.comhem.se
2d7f4c30a7
Fixed symbol name problems that made build fail.
2004-08-19 20:48:00 +02:00
hf@deer.(none)
eec860fd7f
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 21:25:37 +05:00
guilhem@mysql.com
22a65bcf26
mysql_com.h:
...
still better names for enum; removing unneeded symbol
2004-08-19 15:15:52 +02:00
guilhem@mysql.com
f1e8bc8535
mysql_com.h:
...
Better names for defines, as these are visible in API
2004-08-19 15:10:59 +02: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
serg@serg.mylan
3bac9dd7db
Merge bk-internal.mysql.com:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-08-19 03:03:02 +02:00
guilhem@mysql.com
f5228a60e6
Very small API change: changing the values in enum enum_shutdown_level;
...
as this enum is not really usable yet (as MySQL server supports only one
shutdown level), and as SHUTDOWN_DEFAULT is still left to 0, this change
should disturb no user. Later (in 4.1.4 or 4.1.5) code will be pushed to
implement graceful shutdown using this enum.
2004-08-19 01:03:43 +02:00
serg@serg.mylan
e1237cbc53
manually merged
2004-08-18 19:57:55 +02:00
serg@serg.mylan
cd7276689e
apply UNIQUE constrain correctly for multi-byte charsets
...
only MyISAM is fixed
2004-08-13 18:29:25 +02:00
serg@serg.mylan
6023b58b9f
Bug #4797 - 32 bit and 64 bit builds behave differently on int32 overflow
2004-08-11 23:43:41 +02:00
konstantin@mysql.com
403b91798a
Cleanup in mysql_time.h/my_time.h headers. The first is used in mysql.h,
...
the second is for the rest of time declarations in mysys.
2004-08-05 14:16:43 -07:00
guilhem@mysql.com
2b6151c20f
Merge gbichot@213.136.52.20:/home/bk/mysql-4.1
...
into mysql.com:/home/mysql_src/mysql-4.1-1717
2004-07-29 23:28:28 +02:00
guilhem@mysql.com
0f3e279a05
WL#1580: --start-datetime, --stop-datetime, --start-position (alias for --position) and --stop-position
...
options for mysqlbinlog, with a test file.
This enables user to say "recover my database to how it was this morning at 10:30"
(mysqlbinlog "--stop-datetime=2003-07-29 10:30:00").
Using time functions into client/ made me move them out of sql/ into sql-common/.
+ (small) fix for BUG#4507 "mysqlbinlog --read-from-remote-server sometimes
cannot accept 2 binlogs" (that is, on command line).
2004-07-29 23:25:58 +02:00
ingo@mysql.com
e25126c68a
Casted all macro arguments,
...
used a common style with array subscripts,
improved the line-up, wrapped long lines.
2004-07-28 21:46:22 +02: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
hf@deer.(none)
5bff13bc72
Merging
2004-07-21 19:10:37 +05:00
serg@serg.mylan
141d43ef95
forced X/Open mode on HPUX removed. The correct way (that affects not only C but also C++ and linking) would be
...
CFLAGS="-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_HPUX_SOURCE"
CXXFLAGS="-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_HPUX_SOURCE"
LDFLAGS="-lxnet"
but apparently MySQL works without too.
2004-07-13 09:37:16 +02:00
monty@mysql.com
07808113d6
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2004-07-09 10:55:47 +03:00
monty@mysql.com
064b8b8f65
Merge with 4.0 to get bug fixes
2004-07-09 02:29:28 +03:00
konstantin@mysql.com
664329b565
my_global.h:
...
Define cxa_pure_virtual to print error message and DBUG_ASSERT:
calls to pure virtual methods should not go unnoticed.
2004-07-09 01:35:35 +04:00
jani@a80-186-24-72.elisa-laajakaista.fi
97920edb9d
Fixed Bug#4451. According to C/C++ standards, enums should not be used
...
out of their range.
2004-07-08 17:12:42 +03:00
bar@mysql.com
6fdafa5635
Don't allow badly formed UTF8 identitiers
2004-07-07 16:39:43 +05:00
serg@serg.mylan
df1f83db55
HAVE_RTREE_KEYS are enabled on windows too
2004-07-06 14:24:44 +02:00
serg@serg.mylan
c2295f163f
Merge bk-internal.mysql.com:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-07-06 14:05:41 +02:00
serg@serg.mylan
9602e4a1a6
re-enable spatial features for windows
...
grr
2004-07-06 13:56:50 +02:00
paul@kite-hub.kitebird.com
c53dc62ece
client.c, libmysql.c:
...
Symbol spelling change.
errmsg.c:
Client error message edits.
errmsg.h:
Two symbol spelling changes.
2004-06-30 22:18:41 -05:00
hf@deer.(none)
eb67909bf4
WL#1600 (Warn if result is truncatet due to max_allowed_packet)
2004-06-29 19:55:13 +05:00
monty@mysql.com
eca9418ca7
Added missing my_time.c file to mysqlclient project
...
Moved include <assert.h> to my_global.h
2004-06-28 00:42:02 +03:00
serg@serg.mylan
b8369481fe
correct casting void->char
2004-06-27 17:16:05 +02:00
konstantin@mysql.com
786e5ff717
Fix for compilation failure on high-byte-first platforms.
2004-06-26 04:54:11 +04:00
monty@mysql.com
e7a01ed3dc
After merge fixes
2004-06-25 21:56:23 +03:00
monty@mysql.com
b1d08ba2b4
Merge with 4.0 to get the latest bug patches to 4.1
2004-06-25 20:13:05 +03:00
konstantin@mysql.com
354e2ba67b
Type of MYSQL_BIND::buffer changed to void *
2004-06-25 17:04:33 +04:00
dlenev@brandersnatch.localdomain
1013d3c7ec
Small build fix.
...
Add my_time.h to list of headers which should be put ot include/ during make dist.
2004-06-25 10:30:24 +04:00
konstantin@mysql.com
29b88ff539
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/kostja/mysql/mysql-4.1-4030
2004-06-24 19:09:31 +04:00
konstantin@mysql.com
a30fcdc690
Fix for Bug#4030 "Client side conversion string -> date type doesn't
...
work (prepared statements)" and after-review fixes:
- str_to_TIME renamed to str_to_datetime to pair with str_to_time
- functions str_to_time and str_to_TIME moved to sql-common
- send_data_str now supports MYSQL_TYPE_TIME, MYSQL_TIME_DATE,
MYSQL_TIME_DATETIME types of user input buffers.
- few more comments in the client library
- a test case added.
2004-06-24 19:08:36 +04:00
monty@mysql.com
ad86016e2f
lower_case_table_names=2 (Keep case for table names) was not honored
...
with ALTER TABLE and CREATE/DROP INDEX. (Bug #3109 )
Make net_buffer_length visible for mysql clients (Bug #4206 )
2004-06-23 16:44:34 +03:00
serg@serg.mylan
c03addab79
merged
2004-06-23 12:36:07 +02:00
serg@serg.mylan
3f1c4ba745
handler interface cleanups:
...
more logical table/index_flags
return HA_ERR_WRONG_COMMAND instead of abstract methods where appropriate
max_keys and other limits renamed to max_supported_keys/etc
max_keys/etc are now wrappers to max_supported_keys/etc
ha_index_init/ha_rnd_init/ha_index_end/ha_rnd_end are now wrappers to real {index,rnd}_{init,end} to enforce strict pairing
2004-06-23 12:29:05 +02:00
guilhem@mysql.com
c846e86d54
Including in enum_shutdown_level the 2 types of KILL of 5.0
...
(enum_shutdown_level is going to replace enum killed_state in 5.0).
2004-06-21 23:04:50 +02:00
guilhem@mysql.com
ff678fd8b7
Merge gbichot@213.136.52.20:/home/bk/mysql-4.1
...
into mysql.com:/home/mysql_src/mysql-4.1-874
2004-06-21 16:37:33 +02:00
guilhem@mysql.com
99bc72d9ed
changing order of enum_shutdown_level (easier; we can test if we should die with
...
"if (thd->killed > thd->killable)", if we simply do
thd->killed= level;
2004-06-21 16:36:28 +02:00
monty@mysql.com
d69a36d118
merge
2004-06-21 10:24:40 +03:00