| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
We have "set" variables, which can accept empty values
(like sql_mode), and which can not (like log_output). The problem
was that the code does not distinguish them and allow empty
values for every set variable.
The fix is to introduce an attribute of a set variable telling
whether it can accept empty values.
|
|
|
|
| |
test case fixed
|
|\
| |
| |
| | |
into janus.mylan:/usr/home/serg/Abk/mysql-5.1
|
| |
| |
| |
| | |
bug#33382
|
| |\
| | |
| | |
| | | |
into mysql.com:/misc/mysql/31177/50-31177
|
| | |
| | |
| | |
| | | |
additional fixes for 64-bit
|
| |\ \
| | |/
| | |
| | | |
into mysql.com:/misc/mysql/31177/50-31177
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Default values of variables were not subject to upper/lower bounds
and step, while setting variables was. Bounds and step are also
applied to defaults now; defaults are corrected quietly, values
given by the user are corrected, and a correction-warning is thrown
as needed. Lastly, very large values could wrap around, starting
from 0 again. They are bounded at the maximum value for the
respective data-type now if no lower maximum is specified in the
variable's definition.
|
| |\ \
| | |/
| |/|
| | | |
into mysql.com:/home/gluh/MySQL/Merge/5.0-opt
|
| | | |
|
| |\ \
| | |/
| |/|
| | | |
into polly.(none):/home/kaa/src/opt/mysql-5.0-opt
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
doesn't recognize it
This is a 5.0 version of the patch, it will be null-merged to 5.1
Problem:
'log' and 'log_slow_queries' were "fixed" variables, i.e. they showed up
in SHOW VARIABLES, but could not be used in expressions like
"select @@log". Also, using them in the SET statement produced an
incorrect "unknown system variable" error.
Solution:
Make 'log' and 'log_slow_queries' read-only dynamic variables to make
them available for use in expressions, and produce a correct error
about the variable being read-only when used in the SET statement.
|
| |\ \
| | | |
| | | |
| | | | |
into mysql.com:/home/gluh/MySQL/Merge/5.0-opt
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
into stella.local:/home2/mydev/mysql-5.1-axmrg
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | | |
into mysql.com:/home/gluh/MySQL/Merge/5.1-opt
|
| |\ \ \ \
| | | |/ /
| | |/| |
| | | | | |
into sin.intern.azundris.com:/misc/mysql/31588/51-31588
|
| | |\ \ \
| | | |_|/
| | |/| |
| | | | | |
into sin.intern.azundris.com:/misc/mysql/31588/50-31588
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Buffer used when setting variables was not dimensioned to accomodate
trailing '\0'. An overflow by one character was therefore possible.
CS corrects limits to prevent such overflows.
|
|\ \ \ \ \
| |/ / / /
|/| | | /
| | |_|/
| |/| | |
into polly.(none):/home/kaa/src/maint/bug5731/my51-bug5731
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
greater than a defined maximum for the option/variable.
This is for bug #29446 "Specifying a myisam_sort_buffer > 4GB on 64 bit machines not possible". Support for myisam_sort_buffer_size > 4 GB on 64-bit Windows will be looked at later in 5.2.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Moved duplicated code to inline function store_timestamp()
Save thd->time_zone_used when logging to table as CSV internally cases it to be changed
Added MYSQL_LOCK_IGNORE_FLUSH to log tables to avoid deadlock in case of flush tables.
Mark log tables with TIMESTAMP_NO_AUTO_SET to avoid automatic timestamping
Set TABLE->no_replicate on open
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
--long-query-time is now given in seconds with microseconds as decimals
--min_examined_row_limit added for slow query log
long_query_time user variable is now double with 6 decimals
Added functions to get time in microseconds
Added faster time() functions for system that has gethrtime() (Solaris)
We now do less time() calls.
Added field->in_read_set() and field->in_write_set() for easier field manipulation by handlers
set_var.cc and my_getopt() can now handle DOUBLE variables.
All time() calls changed to my_time()
my_time() now does retry's if time() call fails.
Added debug function for stopping in mysql_admin_table() when tables are locked
Some trivial function and struct variable renames to avoid merge errors.
Fixed compiler warnings
Initialization of some time variables on windows moved to my_init()
|
| | |
| | |
| | |
| | | |
removed duplicated variable declarations
|
|\ \ \
| | | |
| | | |
| | | | |
into chilla.local:/home/mydev/mysql-5.1-wl2936-two
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-5.1-wl2936
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
"Server Variables for Plugins"
Implement support for plugins to declare server variables.
Demonstrate functionality by removing InnoDB specific code from sql/*
New feature for HASH - HASH_UNIQUE flag
New feature for DYNAMIC_ARRAY - initializer accepts preallocated ptr.
Completed support for plugin reference counting.
|
|\ \ \ \ \
| |/ / / /
|/| | / /
| | |/ /
| |/| | |
into mysql.com:/home/bar/mysql-5.1-new-rpl
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: setting/displaying @@LC_TIME_NAMES didn't distinguish between
GLOBAL and SESSION variable types - always SESSION variable
was set/shonw.
Fix: set either global or session value.
Also, "mysqld --lc-time-names" was added to set "global default" value.
|
| | | | |
|
|\ \ \ \
| |/ / /
| | / /
| |/ /
|/| | |
into pilot.blaudden:/home/msvensson/mysql/bug20166/my51-bug20166
|
| | |
| | |
| | |
| | | |
- Part 2, add @@hostname system variable
|
|\ \ \
| |/ /
| | |
| | | |
into mysql.com:/usr/home/bar/mysql-5.1.b22645
|
| |\ \
| | |/
| | |
| | | |
into mysql.com:/usr/home/bar/mysql-5.0.b22645
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: replication of LC_TIME_NAMES didn't work.
Thus, INSERTS or UPDATES using date_format() always
worked with en_US on the slave side.
Fix: adding ONE_SHOT implementation for LC_TIME_NAMES.
|
|\ \ \
| | | |
| | | |
| | | | |
into mysql.com:/users/lthalmann/bk/MERGE/mysql-5.1-merge
|
| | | |
| | | |
| | | |
| | | | |
tables to INFORMATION_SCHEMA.
|
|\ \ \ \
| |/ / /
|/| / /
| |/ / |
into maint1.mysql.com:/data/localhome/cmiller/bug20908/my51-bug20908
|
| | |
| | |
| | |
| | |
| | |
| | | |
Zero-length variables caused failures when using the length to look
up the name in a hash. Instead, signal that no zero-length name can
ever be found and that to encounter one is a syntax error.
|
|\ \ \
| |/ /
| | |
| | | |
into zippy.(none):/home/cmiller/work/mysql/merge/mysql-5.1
|
| | |
| | |
| | |
| | |
| | | |
sys_var_insert_id returned LAST_INSERT_ID instead of INSERT_ID,
as Guilhem suggested.
|
| | |
| | |
| | |
| | | |
sys_var_insert_id returned LAST_INSERT_ID instead of INSERT_ID.
|
|\ \ \
| |/ /
| | |
| | | |
into mysql.com:/home/jimw/my/mysql-5.1-clean
|
| |\ \
| | | |
| | | |
| | | | |
into mysql.com:/home/jimw/my/mysql-5.0-clean
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug #19606: ssl variables are not displayed in show variables
Bug #19616: log_queries_not_using_indexes is not listed in show variables
Make basedir, datadir, tmpdir, log_queries_not_using_indexes, ssl_ca,
ssl_capath, ssl_cert, ssl_cipher, and ssl_key all available both from
SHOW VARIABLES and as @@variables.
As a side-effect of this change, log_queries_not_using_indexes can
be changed at runtime (but only globally, not per-connection).
|
|\ \ \ \
| |/ / /
| | | |
| | | | |
into mysql.com:/home/mysql-5.1-18997e
|
| |/ /
| | |
| | |
| | | |
save global server variables before fiddling with them and restore them later
|
|\ \ \
| |/ /
| | |
| | | |
into mysql.com:/home/jimw/my/mysql-5.1-clean
|
| |\ \
| | | |
| | | |
| | | | |
into mysql.com:/home/jimw/my/mysql-5.0-clean
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug #15684: @@version_* are not all SELECTable
Added the appropriate information as read-only system variables, and
also removed some special-case handling of @@version along the way.
@@version_bdb was added, but isn't included in the test because it
depends on the presence of BDB.
|