| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| | |
remove all
EXCEPTIONS-CLIENT from all the places.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PREPARE", review fixes:
- make the patch follow the specification of WL#4166 and remove
the new error that was originally introduced.
Now the client never gets an error from reprepare, unless it failed.
I.e. even if the statement at hand returns a completely different
result set, this is not considered a server error.
The C API library, that can not handle this situation, was modified to
return a client error.
Added additional test coverage.
|
|/
|
|
|
|
| |
Print information if net_clear() skipped bytes (As this otherwise hides critical timeing bugs)
Added DBUG_ASSERT if we get packets out of order
mysql_change_user() could on error send multiple packets, which caused mysql_client_test to randomly fail
|
|
|
|
|
| |
Fixed that --valgrind works again with mysql-test-run.sh
Extended error messages when loosing connection during mysql_real_connect()
|
|
|
|
|
|
|
| |
- check on the client the unsupported feature and return
an error message if it's been requested.
Additionally added API support for STMT_ATTR_PREFETCH_ROWS.
Post-review fixes.
|
| |
|
|
|
|
|
| |
(crash on attempt to re-execute a statement with an open cursor) +
post-review fixes.
|
|\ |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Changed my_error() to print error messages, which come from
arbitrary registered ranges of error messages. Messages can
be unregistered (and should be at end of the program).
Added registration of handler error messages.
Added a new mi_print_error() macro and a new
mi_report_error() function, which supply error
messages with a table name.
Added calls to mi_print_error() or mi_report_error()
at all places in MyISAM, where table corruption is detected.
|
|\
| |
| |
| | |
into mysql.com:/home/wax/mysql/mysql-4.1group_concat
|
| | |
|
|\ \
| |/
|/| |
|
| | |
|
| |
| |
| |
| | |
EXCEPTIONS file and amended the GPL text as requested by Zak
|
| |
| |
| |
| |
| |
| |
| |
| | |
Symbol spelling change.
errmsg.c:
Client error message edits.
errmsg.h:
Two symbol spelling changes.
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
client library:
- implemented 'check_license' function
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
flaws list)
TODO:
* verify that no sequence of API calls produces SIGSEGV.
That is, verify that mysql_stmt_init -> mysql_stmt_fetch is OK,
or mysql_stmt_prepare -> mysql_stmt_fetch_column is OK and sets
meaningful error.
* remove alloc_stmt_fields call
* revise stmt->state codes and statement states.
* there are other items in prepared statements 'to fix' document.
Done:
- cleanups and comments
- revision of prepared statement error codes.
- mysql_stmt_prepare is now can always be called (that is, you can reprepare
a statement)
- new implementation of mysql_stmt_close and fetch cancellation
|
| |
| |
| |
| |
| |
| | |
now mysql_server_init is called from mysql_init with fake parameters
mysql_once_init code included to mysql_server_init.
embedded-specific initialization is in init_embedded_server function
|
| |
| |
| |
| |
| |
| |
| |
| | |
Client option secure-auth deployed on all possible layers:
- mysql client command-line and config file option
- mysql_options option MYSQL_SECURE_AUTH
- mysql_real_connect will automatically take into account that option if
mysql->options.my_cnf_file/my_cnf_group is set
|
|\ \ |
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | | |
that we can get it 'skipped' instead of 'failed' on system where we can't open many files.
|
|/ / |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \ |
|
| | | |
|
|\ \ \
| |/ /
|/| /
| |/ |
|
| |
| |
| |
| |
| |
| | |
Fix bug when server hang(with SSL, with modified libmysql)
Add options master-ssl-capath and master-ssl-cipher
Add some error checking(SSL)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Warning handling and initial prepared statement handling (last not complete yet)
Changed a lot of functions that returned 0/1 to my_bool type.
GRANT handling now uses read/write locks instead of mutex
Change basic net functions to use THD instead of NET
(needed for 4.1 protocol)
Use my_sprintf instead of sprintf() + strlen()
Added alloc_query() to be able to chare query initialization code with
prepared statements.
Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()
Note that the following test fails (will be fixed ASAP):
sub_select, union, rpl_rotate_logs and rpl_mystery22
|
|/
|
|
|
|
|
|
|
|
| |
- Support of prepared execution
- Support of Original Table and Column names
- Support of direct transactional API
- And lot of misc handling
(Note that, the pull will not work, unless you have the Server side changes also which will be followed by this commit)
|
|
|
|
| |
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
|
|
|
|
|
| |
Fixed problem with LIKE with latin1_de
Added parsing support of UNSIGNED LONG LONG
|
| |
|
|
|
|
|
|
| |
compiles, passes test suite, does magic, has bugs, but none that I know
at this point. Have not tested everything yet, though. Changed
a lot of code in the client, but normal stuff appears to be working.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
error message if the table open or the index creation failed.
Updated portuguese error messages.
Fix for OS/2 that affected CHECK TABLE.
|
|/
|
|
| |
Some limit optimization
|
|
|
|
|
|
| |
Changed errmsg -> my_errmsg (portability issue)
Fixed that mysqlbinlog writes SET TIMESTAMP before all queries
Fixed comments in default my.cnf files
|
| |
|
|
|