konstantin@mysql.com
ba69a5b7e8
Making 4.1 tree compile with -ansi -pedantic
2004-12-16 16:16:28 +03:00
dlenev@brandersnatch.localdomain
f49d4f5350
Fix for bug #4508 "CONVERT_TZ() function with new time zone as param crashes server".
...
Instead of trying to open time zone tables during calculation of CONVERT_TZ() function
or setting of @@time_zone variable we should open and lock them with the rest of
statement's table (so we should add them to global table list) and after that use such
pre-opened tables for loading info about time zones.
2004-08-10 12:42:31 +04:00
dlenev@brandersnatch.localdomain
09ba29e539
WL#1264 "Per-thread time zone support infrastructure".
...
Added basic per-thread time zone functionality (based on public
domain elsie-code). Now user can select current time zone
(from the list of time zones described in system tables).
All NOW-like functions honor this time zone, values of TIMESTAMP
type are interpreted as values in this time zone, so now
our TIMESTAMP type behaves similar to Oracle's TIMESTAMP WITH
LOCAL TIME ZONE (or proper PostgresSQL type).
WL#1266 "CONVERT_TZ() - basic time with time zone conversion
function".
Fixed problems described in Bug #2336 (Different number of warnings
when inserting bad datetime as string or as number). This required
reworking of datetime realted warning hadling (they now generated
at Field object level not in conversion functions).
Optimization: Now Field class descendants use table->in_use member
instead of current_thd macro.
2004-06-18 10:11:31 +04:00
serg@serg.mylan
de6d3b8dff
UNHEX() function
2004-03-04 23:18:54 +01:00
serg@serg.mylan
ed2e1aa14d
my_gethwaddr() for linux/freebsd
...
UUID() function
2004-02-27 20:30:08 +01: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
gluh@gluh.mysql.r18.ru
5ade64831e
WL#1253: LAST_DAY
2003-11-17 18:02:08 +04:00
gluh@gluh.mysql.r18.ru
62b0b8b800
Scrum task 835 - text-to-datetime conversion function
2003-10-20 13:24:18 +05:00
serg@serg.mylan
7d2b0a0ce7
Merge bk-internal:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2003-09-03 15:40:19 +02:00
kostja@oak.local
36dd82c1d5
merge commit, hope that none of bar and dlenev changes were
...
lost.
2003-09-03 14:12:10 +04:00
serg@serg.mylan
755455e15c
merged
2003-09-03 12:07:18 +02:00
serg@serg.mylan
58bdc6f5e1
use crc32() from bundled zlib if system zlib is unavailable
2003-08-21 18:30:43 +02:00
bar@bar.mysql.r18.ru
8c55440ba4
CAST(expr AS CHAR(10)) is now working
2003-08-21 14:15:25 +05:00
kostja@oak.local
50d3291aee
manual merge
2003-07-31 17:11:52 +04:00
serg@serg.mylan
a32f4609b2
Merge bk-internal:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2003-07-14 10:54:22 +02:00
kostja@oak.local
941a8623ca
resolved conflict with pulled changeset
2003-07-09 18:24:43 +04:00
serg@serg.mylan
e11efbddfa
renamed enum Item_cast as it's not a 'class Item' child
2003-07-06 17:12:45 +02:00
kostja@oak.local
1d20b23247
Bug fixes for authentication
...
OLD_PASSWORD made a keyword to allow set password=old_password('abc') constructions.
2003-07-04 20:52:04 +04:00
gluh@gluh.mysql.r18.ru
91e3245b67
Merge gluh@gw:/home/bk/mysql-4.1
...
into gluh.mysql.r18.ru:/home/gluh/mysql-4.1.DTFUNC
2003-06-23 13:02:28 +05:00
gluh@gluh.mysql.r18.ru
66af4b5c9a
Internal commit
2003-06-23 12:56:44 +05:00
ram@mysql.r18.ru
528386fc78
Added AsWKT() alias for AsText().
...
Renamed as_text().
2003-06-20 14:31:47 +05:00
bar@bar.mysql.r18.ru
5fa6c4589e
CAST(expr AS char) now supports character set with conversion:
...
SELECT CAST(_latin1'string' AS CHAR CHARACTER SET latin2)
2003-05-28 17:57:58 +05:00
vva@eagle.mysql.r18.ru
11666b5281
small compress/uncompress modification after monty's review
2003-04-22 18:41:47 -04:00
vva@eagle.mysql.r18.ru
02ad1b95e3
Merge
2003-04-10 10:25:21 -04:00
vva@eagle.mysql.r18.ru
950fa7aa8a
added compress/uncompress function
2003-04-09 20:50:30 -04:00
ram@mysql.r18.ru
2180fa858b
AsWKB() function has been added.
2003-04-03 15:13:14 +05:00
hf@genie.(none)
43d3472642
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into genie.(none):/home/hf/work/mysql-4.1.lck
2003-03-21 11:06:15 +04:00
ram@mysql.r18.ru
031ac2a7b2
SRID support.
...
GeomertyFromWKB() function.
SRID() function.
::store() methods for Field_geom.
Code cleanup.
2003-03-18 15:30:32 +04:00
hf@genie.(none)
410782fd5f
SCRUM
...
IS_USED_LOCK('lock') implementation
2003-03-14 13:10:33 +04:00
bar@bar.mysql.r18.ru
3046c3ca34
Many files:
...
Coercibility, initial stage
item_func.h:
Coercibility, initial stage
2003-02-28 19:22:20 +04:00
monty@narttu.mysql.fi
3b073a08e0
Portability fixes
...
Don't define crc32 if we are not linking with gzip
2003-02-27 03:44:44 +02:00
monty@mashka.mysql.fi
7388c5f161
merge
2003-02-08 01:12:58 +02:00
monty@mashka.mysql.fi
1b9b042654
Fix problem in MIN/MAX optimisation (from last patch)
...
Don't make OLD_PASSWORD() a reserved word
2003-02-07 17:57:07 +02:00
monty@mashka.mysql.fi
023d6dd39b
Merge with 4.0.11
2003-02-04 21:52:14 +02:00
monty@mashka.mysql.fi
fa7a94ed14
Added timeout for wait_for_master_pos
...
Fixed comparision of log-binary name to handle comparison when file name extension wraps from .999 to .1000
Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
2003-01-25 15:07:51 +02:00
monty@mashka.mysql.fi
07daf3169e
Merge with 4.0.8
2003-01-03 00:04:33 +02:00
serg@serg.mysql.com
09ed694094
current_user() to return priv_user
2002-12-05 21:38:27 +01:00
peter@mysql.com
d21402052c
One more commit to do the merge of new 4.1 tree
2002-10-06 13:42:16 +04:00
monty@narttu.mysql.fi
7134ffec21
Merge with 4.0.3
...
Some simple optimzations, more comments and indentation changes.
Add ` around database in 'use database' in binary log.
Moved max_error_count and max_warning_count to variables struct.
Removed SHOW_WARNS_COUNT and SHOW_ERRORS_COUNT calls.
Changed string functions to use character set of first string argument as default return characterset
(Each string function can change the above assumption if needed)
2002-08-30 12:40:40 +03:00
ram@ram.(none)
b7403f3d84
new QUOTE() fuction has been added
2002-08-08 20:25:53 +05:00
bar@bar.udmsearch.izhnet.ru
28062413a8
New CRC32() SQL function
2002-08-06 19:29:33 +05:00
peter@mysql.com
684bf18e4d
Arjens LOG functions changes with small changes and tests added to mysql-test
2002-07-17 12:11:48 +04:00
monty@hundin.mysql.fi
f87efa928b
Update for running gcc 3.x (mainly on HPUX)
...
Portability fixes for HPUX
Rename of CHECK_LOCK to IS_FREE_LOCK
Apply lower_case_table_names also to databases
Cleanup of describe code
Don't allow \ in database names
2002-06-30 18:57:21 +03:00
Sinisa@sinisa.nasamreza.org
816dc4eb28
Added functions :
...
* binary XOR
* logical XOR
* CHECK_LOCK("lock_name")
2002-06-29 16:25:09 +03:00
peter@linux.local
89b161d05d
This changeset is mostly new version of previous commit modified according
...
to Monty's code style and optimization comments
2002-06-11 13:37:48 +04:00
bar@gw.udmsearch.izhnet.ru
735b27d578
Added GIS extension
2002-02-22 15:24:42 +04:00
serg@serg.mysql.com
ef8436beff
BIT_LENGTH ODBC function
2002-01-03 19:47:14 +00: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@donna.mysql.fi
417dd72856
Added SQL_CALC_FOUND_ROWS and FOUND_ROWS()
2001-04-12 00:54:35 +03:00
sasha@mysql.sashanet.com
d0f4235a2e
rpl000016.test sync
...
rpl000001.result BitKeeper file /home/sasha/src/bk/mysql/mysql-test/r/rpl000001.result
ignore Added BitKeeper/tmp/bkr3sAHD to the ignore list
slave.h MASTER_POS_WAIT
lex.h MASTER_POS_WAIT
slave.cc MASTER_POS_WAIT, do automagic restart on debugging abort, skip rotate events in
slave.cc debug abort count
sql_repl.cc announce the log name at the start of the log with a fake rotate event
item_create.h MASTER_POS_WAIT
item_func.cc MASTER_POS_WAIT
item_func.h MASTER_POS_WAIT
sql_class.h enter_cond(), exit_cond() helper inliners
item_create.cc added MASTER_POS_WAIT
mysql-test-run.sh speed improvement fixes
rpl000007.test sync
rpl000003.test sleep -> sync
rpl000004.test sleep -> sync, fixed clean up bug
rpl000014.test sync
rpl000009.test sync
rpl000013.test sync
rpl000001.test sleep -> sync
rpl000008.test sync
rpl000006.test sync on cleanup
rpl000011.test sync
rpl000012.test sync
rpl000005.test sleep -> sync
rpl000010.test sync
rpl000015.test sync
rpl000002.test sleep -> sync
rpl000014.result we now know the master log name as soon as we connect
mysql.cc added optional agrument to --wait
mysqltest.c added save_master_pos and sync_with_master commands
2001-01-17 05:47:33 -07:00