positive numbers when no resultset is available": when sending
result set metadata we need to use virtual select_result::send_fields,
and not address protocol directly, because select_result descendents may
intercept result set (it's the case for example for SELECT INTO OUTFILE).
sql/sql_class.h:
A fix for bug#6059 "mysql_stmt_field_count returns positive numbers
when no resultset is available": introducing select_result::field_count()
method to report actual number of fields in a result set, if any result
set is sent to client.
sql/sql_prepare.cc:
A fix for bug#6059 "mysql_stmt_field_count returns
positive numbers when no resultset is available": when sending
result set metadata we need to use virtual select_result::send_fields,
and not address protocol directly, because select_result descendents may
intercept result set (it's the case for example for SELECT INTO OUTFILE).
Now we need to always have lex->result set if we're in prepared statements.
tests/client_test.c:
A test case for Bug#6059 "mysql_stmt_field_count returns positive
numbers when no resultset is available"
It also did not write ~/.mysql_history file. The problem was in alloc(),
which probably does not work on HP-UX-11.23 ia64 platform. Changed some
macros into functions for better maintenance and debugging.
mysql-test/r/view.result:
changing value by trigger and CHECK OPTION
mysql-test/t/view.test:
changing value by trigger and CHECK OPTION
sql/sql_insert.cc:
value should be checked after 'before' trigger work
mysql-test/r/ps_10nestset.result:
Correct the expected protocol according to the test changes.
mysql-test/t/ps_10nestset.test:
Improve comments; adapt to standard test style:
disable warnings around 'drop table', use 't#' table name scheme.
mysql-test/t/ps_11bugs.test:
Corrected a typing error in the bug number comment.
for InnoDB tables. Note that these times may always be correct ones,
because for example ALTER TABLE creates a table again.
innobase/include/os0file.h:
Added information of file timestamps and a function os_file_get_status
to get that information using stat().
innobase/os/os0file.c:
Added function that return information obout the specified file.
sql/ha_innodb.cc:
Get timestamps for the file where the table is stored.
mysql-test/r/view.result:
inserting single value with check option failed always get error
mysql-test/t/view.test:
inserting single value with check option failed always get error
sql/sql_insert.cc:
inserting single value with check option failed always get error
provite declarations for signal print functions, needed on some platforms
ome platforms don't like the length calculation for SignalDataPrintFunction
so null terminate instead
ome platforms complain about this extra level Logger::Logger::
null terminate SignalDataPrintFunctions instead
move declaration of print function to SignalData.hpp
just change from "" to <> in include
moved double declatration of i out
ndb/include/kernel/signaldata/DihContinueB.hpp:
changed to same signature as rest of print functions
ndb/include/kernel/signaldata/NdbfsContinueB.hpp:
changed to same signature as rest of print functions
ndb/include/kernel/signaldata/SignalData.hpp:
provite declarations for signal print functions, needed on some platforms
ndb/src/common/debugger/DebuggerNames.cpp:
some platforms don't like the length calculation for SignalDataPrintFunction
so null terminate instead
ndb/src/common/debugger/EventLogger.cpp:
some platforms complain about this extra level Logger::Logger::
ndb/src/common/debugger/signaldata/ContinueB.cpp:
changed to same signature as rest of print functions
ndb/src/common/debugger/signaldata/DihContinueB.cpp:
changed to same signature as rest of print functions
ndb/src/common/debugger/signaldata/NdbfsContinueB.cpp:
changed to same signature as rest of print functions
ndb/src/common/debugger/signaldata/SignalDataPrint.cpp:
null terminate SignalDataPrintFunctions instead
move declaration of print function to SignalData.hpp
ndb/src/common/portlib/NdbSleep.c:
just change from "" to <> in include
ndb/src/mgmsrv/Services.cpp:
moved double declatration of i out
mysql-test/r/view.result:
fixed default behaviour of WITH CHECK OPTIONS according to standard
sql/sql_yacc.yy:
fixed default behaviour of WITH CHECK OPTIONS according to standard
ndb/src/mgmsrv/ConfigInfo.cpp:
Better cast
ndb/src/mgmsrv/MgmtSrvr.cpp:
Add default arg
sql/ha_ndbcluster.cc:
reorder methods, so that they are not used prior to declaration
(inlines)
mysql-test/r/view.result:
test of cascaded check option for whiew without WHERE clause
mysql-test/t/view.test:
test of cascaded check option for whiew without WHERE clause
sql/table.cc:
Allow inheriting check options if view have not WHERE clause
mysql-test/r/func_str.result:
fixed printing of substring_index
mysql-test/r/view.result:
test of substring_index with view
mysql-test/t/view.test:
test of substring_index with view
sql/item_strfunc.h:
fixed printing of substring_index
Fixed bug #6187: a wrong initial setting for const_item_cache
in Item_cond::fix_fields.
sql/item_cmpfunc.cc:
Fixed bug #6187: a wrong initial setting for const_item_cache
in Item_cond::fix_fields.
mysql-test/r/func_test.result:
Fixed bug #6187: a wrong initial setting for const_item_cache
in Item_cond::fix_fields.
into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
mysql-test/r/innodb.result:
Auto merged
mysql-test/r/range.result:
Auto merged
mysql-test/t/range.test:
Auto merged
sql/opt_range.cc:
Auto merged
ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
dbtux scan batch max 16->992 caused perf loss
ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
dbtux scan batch max 16->992 caused perf loss
ndb/src/kernel/blocks/dbtux/Times.txt:
dbtux scan batch max 16->992 caused perf loss
ndb/test/ndbapi/testOIBasic.cpp:
dbtux scan batch max 16->992 caused perf loss