bar@mysql.com
7577c8bfc9
A fix according to Monty's request:
...
"uint *errors" is now a non-optional parameter in String:copy()
and copy_and_convert().
2004-10-29 17:00:39 +05:00
bar@mysql.com
541883f9d8
Produce a "truncated" warning if a value cannot be converted
...
into the column character set on INSERT/UPDATE.
2004-10-28 15:21:20 +05:00
monty@mysql.com
3afecef4df
Fix compiler warnings (detected by Intel's C++ compiler)
...
Fixed checking of privilege handling in CREATE ... SELECT (Bug #6094 )
2004-10-22 18:44:51 +03:00
serg@serg.mylan
3f2210c064
after merge fixes
2004-08-19 03:02:09 +02:00
ram@gw.mysql.r18.ru
74c64904c7
A fix (Bug #4878 : Service crashes on query execution)
2004-08-12 11:28:39 +05:00
bar@bar.intranet.mysql.r18.ru
d0c761e66b
sql_string.h:
...
Not used code.
,
sql_string.cc:
Not used code.
2004-05-25 16:05:33 +05:00
bar@bar.intranet.mysql.r18.ru
3f8996f88d
1. Some optimization when conversion is not needed.
...
2. One now must pass length argument into append(const char *str, uint length),
length is not calculated internally anymore.
2004-05-25 15:54:03 +05:00
konstantin@mysql.com
f207b33a7b
Support for character set conversion in binary protocol: another go
...
after Monty's review.
- Item_param was rewritten.
- it turns out that we can't convert string data to character set of
connection on the fly, because they first should be written to the binary
log.
To support efficient conversion we need to rewrite prepared statements
binlogging code first.
2004-05-25 02:03:49 +04:00
monty@mysql.com
8f093d0fb3
Portability fixes
2004-03-05 19:49:50 +02:00
monty@mashka.mysql.fi
afd8f38f4e
Optimized GIS functions
2004-03-04 08:50:37 +02:00
monty@mysql.com
f43093ec0e
After merge fixes
...
Added more DBUG statements
Ensure that we are comparing end space with BINARY strings
Use 'any_db' instead of '' to mean any database. (For HANDLER command)
Only strip ' ' when comparing CHAR, not other space-like characters (like \t)
2004-02-16 10:03:25 +02:00
monty@mysql.com
06432eac36
Added --compact to mysqlbinlog
...
Fixed output from mysqlbinlog when using --skip-comments
Fixed warnings from valgrind
Fixed ref_length when used with HEAP tables
More efficent need_conversion()
Fixed error handling in UPDATE with not updateable tables
Fixed bug in null handling in CAST to signed/unsigned
2004-02-09 12:31:03 +01:00
bar@bar.intranet.mysql.r18.ru
03d00c7da9
Further fixes for 2390: ucs2 alignment
2004-01-21 14:15:19 +04:00
bar@bar.intranet.mysql.r18.ru
f802ec0215
UCS-2 aligning 0xAA -> 0x00AA
2004-01-19 19:16:30 +04:00
bell@sanja.is.com.ua
c56e75e2c1
after review fix
2003-11-03 12:28:36 +02:00
gluh@gluh.mysql.r18.ru
5709ed20ab
SAPDB date/time finctions
2003-07-08 15:06:05 +05:00
monty@narttu.mysql.fi
dad0664579
merge with public tree
2003-06-05 00:12:45 +03:00
monty@narttu.mysql.fi
23145cfed7
Added SQLSTATE to client/server protocol
...
bmove_allign -> bmove_align
Added OLAP function ROLLUP
Split mysql_fix_privilege_tables to a script and a .sql data file
Added new (MEMROOT*) functions to avoid calling current_thd() when creating some common objects.
Added table_alias_charset, for easier --lower-case-table-name handling
Better SQL_MODE handling (Setting complex options also sets sub options)
New (faster) assembler string functions for x86
2003-06-04 18:28:51 +03:00
bar@bar.mysql.r18.ru
759214fa41
MY_CS_NONTEXT flag for sprintf() incompatible charsets (ucs2 if the only one now)
...
Some default_charset_info were removed
2003-06-03 14:59:17 +05:00
monty@mashka.mysql.fi
6aa8929cf3
After merge fixes
...
Added initialization of all important global variables
2003-05-21 21:39:58 +03:00
venu@myvenu.com
8eeecd9c86
Fix to support update + bianry logs with prepared statements (Dynamic query)
2003-04-04 12:33:17 -05:00
bar@bar.mysql.r18.ru
0137c812dc
SHOW CREATE TABLE didn't display field names in the proper charset
2003-03-18 13:42:45 +04:00
bar@bar.mysql.r18.ru
f95eb82934
stringcmp() and sortcmp() have been unified
...
into the only one sortcmp() with additional
CHARSET_INFO *cmp_charset argument.
2003-03-04 18:01:59 +04:00
bar@bar.mysql.r18.ru
d134e6f2e7
item_func.cc:
...
Some reoganization
Fixed that binary arguments do not affect result charset
anymore
For example, the second argument doesn't affect charset of result in LEFT(string,10)
sql_string.h:
Strings are binary by default now
2003-02-26 12:29:17 +04:00
monty@mashka.mysql.fi
25c393a12e
Portability fixes (for windows)
...
Some changes to the prepared statement protocol to make it easier to use and faster.
2003-01-21 21:07:59 +02:00
monty@mashka.mysql.fi
7e9b27eaf5
Updates for multi-byte character sets
...
(Note: test 'union' fails, but Sanja promised to fix this)
2003-01-14 14:28:36 +02:00
hf@deer.mysql.r18.ru
05de9d5fa9
Spatial-related fixes
2002-12-18 17:17:35 +04:00
monty@mashka.mysql.fi
d3eb993a27
rename of net_pkg.cc to protocol.cc
...
Class for sending data from server to client (Protocol)
This handles both the old ( <= 4.0 ) protocol and then new binary protocol that is used for prepared statements.
2002-12-11 09:17:51 +02:00
monty@mashka.mysql.fi
4cefc97f65
Fixed CAST( xxx as CHAR)
2002-11-25 17:33:51 +02:00
bar@bar.mysql.r18.ru
660f52ab26
wild_case_compate(&String, &String, escape) doesn't exist anymor
2002-11-14 17:25:34 +04:00
bar@bar.mysql.r18.ru
d1fd7bdacf
thread charset related improvements
2002-11-11 16:46:11 +04:00
bar@bar.mysql.r18.ru
2434be61f8
String->copy() now has a charset arg
2002-11-06 17:43:22 +04:00
bar@bar.mysql.r18.ru
b43876b9dd
All String->set() now have charset argument
2002-10-30 16:19:43 +04:00
monty@hundin.mysql.fi
ee6bd84880
Changes for new binary .frm format
...
Fixes after last merge from 4.0.
(Code not yet complete, need anoter merge from 4.0)
2002-06-04 08:23:57 +03:00
bar@gw.udmsearch.izhnet.ru
ba963bb64d
Bug fix: charset was not initialized
2002-05-20 21:56:27 +05:00
bar@gw.udmsearch.izhnet.ru
196aa19cf6
Now string values are created and filled with charset field
...
SELECT func(charset2) FROM t ORDER BY 1 works in correct charset
2002-05-17 16:29:52 +05:00
bar@gw.udmsearch.izhnet.ru
21ef10ef2e
Added new method to set string's charset
2002-03-20 20:52:23 +04:00
bar@gw.udmsearch.izhnet.ru
b37ce8e769
New ctype functions/macros to support many charsets at a time
2002-03-12 21:37:58 +04:00
bar@gw.udmsearch.izhnet.ru
e3d5356d48
Extend String class with CHARSET_INFO field
2002-03-07 15:23:24 +04:00
bar@gw.udmsearch.izhnet.ru
735b27d578
Added GIS extension
2002-02-22 15:24:42 +04: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
9209210d30
Fix bug when repairing compressed MyISAM files
...
LOCATE() is now case sensitive
2001-11-22 13:50:50 +02:00
monty@donna.mysql.com
a7c5b9c211
Portability fixes for OPENBSD, OS2 and Windows
2001-01-27 01:20:56 +02:00
monty@narttu.mysql.fi
b689a1a752
merge
2000-11-16 00:24:11 +02:00
monty@narttu.mysql.fi
e69becf133
changed to use IO_CACHE instead of FILE
2000-11-15 23:00:06 +02:00
sasha@mysql.sashanet.com
96815f82a6
libmysql/libmysql.c
...
keep vio from being freed twice when we are low on memory
mysys/safemalloc.c
changes for --safemalloc-mem-limit
sql/mini_client.cc
keep vio from being freed twice
sql/mysqld.cc
changes for --safemalloc-mem-limit
sql/slave.cc
prevent closing connection twice
sql/sql_string.h
shrink() did not work right when my_realloc() failed
2000-10-28 23:26:48 -06:00
monty@narttu.mysql.fi
ae80d2a5a3
Portability fixes
2000-10-11 00:48:03 +03:00
monty@donna.mysql.com
d564acf14e
Fixes for Ia64
2000-08-23 15:02:27 +03:00
monty@donna.mysql.com
f0952ce3e1
FLUSH TABLE table_list
...
Fixes for RENAME TABLE
Portability fixes
2000-08-22 00:18:32 +03:00
bk@work.mysql.com
f4c589ff6c
Import changeset
2000-07-31 21:29:14 +02:00