| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
into zippy.(none):/home/cmiller/work/mysql/mysql-5.1-new__bug17667
|
| |\
| | |
| | |
| | | |
into zippy.(none):/home/cmiller/work/mysql/mysql-5.1-new__bug17667
|
| | |
| | |
| | |
| | | |
our sprintf()-alike in sync with our fprintf()-alike features.
|
| | |\
| | | |
| | | |
| | | | |
into zippy.(none):/home/cmiller/work/mysql/mysql-5.0__bug17667
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug#17667: An attacker has the opportunity to bypass query logging.
This adds a new, local-only printf format specifier to our *printf functions
that allows us to print known-size buffers that must not be interpreted as
NUL-terminated "strings."
It uses this format-specifier to print to the log, thus fixing this
problem.
|
| | | |
| | | |
| | | |
| | | | |
Using local.
|
| | |\ \
| | | | |
| | | | |
| | | | | |
into mysql.com:/usr/home/bar/mysql-5.0
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Backporting a 5.0 change:
MAX_BUF was too small for Index.xml
Changeing MAX_BUF and adding assert to easier
catch the same problem in the future.
ctype-extra.c:
Regenerating ctype-extra.c with the fixed conf_to_src.
|
|/ / / /
| | | |
| | | |
| | | | |
This will make charset code easier to understand
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
into mysql.com:/usr/home/bar/mysql-5.1-new.b17870v1
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It was impossible to create some table names on Windows
(e.g. LPT1, AUX, COM1, etc).
Fixed to pad dangerous names with thee "at" signs
(e.g. LPT1@@@, AUX@@@, COM1@@@, and so on).
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
into mysql.com:/usr/home/bar/mysql-5.1-new.b18285
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
expected
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ExtractValue didn't understand tag and attribute names
consisting of "tricky" national letters (e.g. latin accenter letters).
It happened because XPath lex parser recognized only basic
latin letter a..z ad a part of an identifier.
Fixed to recognize all letters by means of new "full ctype" which
was added recently.
|
|\ \ \ \
| |/ / /
| | | |
| | | | |
into mysql.com:/usr/home/bar/mysql-5.1-new
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Buffer was too small to load Index.xml.
So some charsets were not gerenrated.
Making the buffer bigger, and adding an DBUG_ASSERT,
to easier catch the problem in the future.
ctype-extra.c:
Additional charsets were generated.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Recreating ctype-extra.c with additional 5.1
charset, and with additional missing 5.0 charset
due to bug with too small buffer MAX_BUF.
|
|\ \ \ \
| |/ / /
| | | |
| | | | |
into mysql.com:/usr/home/bar/mysql-5.1-new
|
| | | | |
|
| |\ \ \
| | |/ /
| | | /
| | |/
| |/| |
into mysql.com:/usr/home/bar/mysql-5.0
|
| | |\
| | | |
| | | |
| | | | |
into mysql.com:/usr/home/bar/mysql-4.1.12076
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixing latin1 to cp1252, according to
recent changes in ctype-latin1.c.
Index.xml:
Marking latin1_swedish_ci as "compiled"
to avoid its generating into ctype-extra.c.
ctype-extra.c:
Bug#12076 --with-extra-charsets has no effect
All supported dnamic charsets were generated
from sql/share/charsets/*.xml under #ifdefs.
Compiling is to be activated from "configure"
by adding --with-extra-charsets.
I'm not including auto-recreating of ctype-extra.c
into build process for ease purposes.
|
| | | | |
|
| | |\ \
| | | | |
| | | | |
| | | | | |
into mysql.com:/usr/home/bar/mysql-4.1.b15376
|
| | | | | |
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
a normal 'make dist' source .tar.gz.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Forgot to include into the previous changeset.
|
|\ \ \ \ \ \
| | |/ / / /
| |/| | | |
| | | | | | |
into mysql.com:/usr/home/bar/mysql-5.1-new
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Mergeing changes into 5.0
|
| |\ \ \ \ \
| | | |_|/ /
| | |/| | |
| | | | | | |
into mysql.com:/usr/home/bar/mysql-5.0
|
| | | |_|/
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
into parts when converting to Unicode.
m_ctype.h:
Reorganizing mb_wc return codes to be able
to return "an unassigned N-byte-long character".
sql_string.cc:
Adding code to detect and properly handle
unassigned characters (i.e. the those character
which are correctly formed according to the
character specifications, but don't have Unicode
mapping).
Many files:
Fixing conversion function to return new codes.
ctype_ujis.test, ctype_gbk.test, ctype_big5.test:
Adding a test case.
ctype_ujis.result, ctype_gbk.result, ctype_big5.result:
Fixing results accordingly.
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | | |
into mysql.com:/usr/home/bar/mysql-5.1-new
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixing wrong min_sort_char.
|
|\ \ \ \ \
| |/ / / /
| | | / /
| |_|/ /
|/| | | |
into mysql.com:/usr/home/bar/mysql-5.1-new
|
| |\ \ \
| | | |/
| | |/|
| | | | |
into mysql.com:/usr/home/bar/mysql-5.0
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
with key
Fixed that LIKE worked case insensitively for latin2_czech_cs,
which was wrong for a case sensitive collation.
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | | |
into shellback.(none):/home/msvensson/mysql/mysql-5.1
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The table may be corrupted and decimal columns may have invalid values in this case.
To prevent crash we need to check that decimal column has allowable value.
In case of invalid value generate warning and set the value to 0.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
A prerequisite for several fulltext and XML bugs.
MY_CHARSET_HANDLER now has a new function "ctype"
to detect a type of the next character in a string
(i.e. digit, letter, space, punctuation, control, etc),
which now works correctly for both 8bit and multibyte charsets.
Previously only 8bit charsets worked correctly,
while any multibyte character was considered as letter
in multibyte charsets.
Many files:
Adding new function
Makefile.am:
Adding build rules for uctypedump,
a dump tool to create my_uctype.h
using Unicode Character Database file.
m_ctype.h:
Adding declaration of my_uni_ctype,
ctype data for Unicode.
Adding new member into MY_CHARSET_HANDLER
Makefile.am:
Adding my_uctype.h into noinst_HEADERS
my_uctype.h, uctypedump.c:
new files:
ctype data for unicode,
and the tool to generate it from
a Unicode Character Database file.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Don't display charsets/collations with HIDDEN flag.
ctype-utf8.c:
Adding HIDDEN flag to "filename"
Changeing ID to 17 which was previosly
used by deprecated "win1251", removed in 4.1.
charset-def.c:
Adding "filename" as a hidden charset, for test purposes.
m_ctype.h:
Adding MY_CS_HIDDEN flag,
to hide charsets and collations from
being displayed in SHOW.
|
|\ \ \ \
| |/ / / |
|
| |\ \ \
| | |/ /
| | | |
| | | | |
into mysql.com:/usr/home/bar/mysql-5.0
|
| | |\ \
| | | | |
| | | | |
| | | | | |
into mysql.com:/usr/home/bar/mysql-4.1.b15377
|
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ctype-euc_kr.c:
ctype-gb2312.c:
Adding specific well_formed_length functions
for gb2312 and euckr, to allow storing characters
which are correct according to the character set
specifications but just don't have Unicode mapping.
Previously only those which have Unicode mapping
could be stored, while unassigned characters lead
to data truncation.
Many files:
new file
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Encoding itself, implemented as a charset
"filename". Originally planned to use '.'
as an escape character, but now changed to '@'
for two reasons: "ls" does not return
file names starting with '.' considering them
as a kind of hidden files; some platforms
do not allow several dots in a file name.
- replacing many calls of my_snprintf() and
strnxmov() to the new build_table_filename().
- Adding MY_APPEND_EXT mysys flag, to append
an extention rather that replace it.
- Replacing all numeric constants in fn_format
flag arguments to their mysys definitions, e.g.
MY_UNPACK_FILENAME,
- Predictability in several function/methods:
when a table name can appear with or withot .frm
extension. Some functions/methods were changed
so accept names strictly with .frm, other - strictly
without .frm extensions. Several DBUG_ASSERTs were
added to check whether an extension is passed.
Many files:
table name to file name encoding
mysql_priv.h:
Prototypes for new table name encoding tools.
ctype-utf8.c:
Implementing "filename" charset for
table name to file name encoding.
row0mysql.c:
Fixing table name prefix.
mf_format.c:
Adding MY_APPEND_EXT processing.
Many files:
Fixing tests.
my_sys.h:
Adding new flag to append rather than replace an extension.
m_ctype.h:
Adding "filename" charset definition.
|
|\ \ \ \
| |/ / /
| | | |
| | | | |
into moonbone.local:/work/14583-bug-5.1-new-mysql
|
| |\ \ \
| | |/ / |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When InnoDB compares varchar field in ucs2 with given key using bin collation,
it calls my_strnncollsp_ucs2_bin() to perform comparison.
Because field length was lesser than length of key field should be padded
with trailing spaces in order to get correct result.
Because my_strnncollsp_ucs2_bin() was calling my_strnncollp_ucs2_bin(), which
doesn't pads field, wrong comparison result was returned. This results in
wrong result set.
my_strnncollsp_ucs2_bin() now compares fields like my_strnncollsp_ucs2 do,
but using binary collation.
|