1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-09-21 05:02:39 +03:00
Commit Graph

2131 Commits

Author SHA1 Message Date
Georg Richter
e89c06320e Fix for connc-6: added missing functions
- mysql_library_init,end as an alias for mysql_server_init/end
- mysql_get_server and mariadb_connection to determine type of server
  (mysql or mariadb)
2013-01-20 14:08:36 +01:00
Georg Richter
82a29b2c40 Fixed license headers which didn't mention PHP code 2012-12-27 12:02:09 +01:00
Vladislav Vaintroub
e420406d9d Don't max out on windows warning settings, it is not practical - there are thousands of insignificant warnings 2012-12-26 23:14:09 +01:00
Vladislav Vaintroub
3a7cb9f137 CONC-4 : link with static C runtime when using MSVC 2012-12-26 22:20:50 +01:00
Georg Richter
7816459d22 Fix for bug conc-5:
field->catalog is undefined if result set was obtained from mysql_stmt_result_metadata()
2012-12-26 20:57:26 +01:00
Georg Richter
e87042f7ab Fix for CONC-3:
In older CMake versions FindOpenSSL.cmake doesn't work as expected,
  (OPENSSL_LIBRARIES doesn't contain crypto library), so we set the
  required cmake version number to 2.8.0 and above
2012-12-17 19:05:09 +01:00
Georg Richter
4042f22bdb some clean up 2012-12-16 12:05:40 +01:00
Georg Richter
e0ec9add5c Added IPV6 support 2012-12-15 13:49:47 +01:00
Georg Richter
65c44bd33c Fix for CONC-1 (Inverted error messages no 2058,2059)
Added support for old password authentication:
- Fixed scramble_323:
    use exact length of message (SCRAMBLE_LENGTH_323 instead
    of strlen(message))
- Added old_password_authentication plugin into list of builtin plugins
2012-12-15 08:23:43 +01:00
Georg Richter
597bff422c removed mysql_io.c (php streams), which is no longer used 2012-12-11 20:29:50 +01:00
Georg Richter
11f01e9fed Fixes for SSL
- fix for php bug 51647
  - added cert store
  - added certificates for testing
2012-12-01 14:02:34 +01:00
Georg Richter
3ea76613e3 Fix for mariadb_config: lib output was not correct
cleanup
fixed ps_test (warning_count differs on MariaDB servers)
2012-11-30 13:47:24 +01:00
Georg Richter
2968f5dc19 - Fix for mysql_stmt_next_result:
obtain number of fields from mysql structure
  added test case (ps_new.c)
- Added additional parameter cipher for mysql_ssl_set
- some cosmetics for test cases
2012-11-29 17:27:56 +01:00
Vladislav Vaintroub
dd7a278cb2 merge georg's fixes 2012-11-29 11:25:44 +01:00
Vladislav Vaintroub
cd5bf5fdff merge 2012-11-29 11:02:40 +01:00
Georg Richter
48e16670d4 implementation for mysql_stmt_next_result
fixed size of MYSQL: removed unused NET->cmd_buffer_length
minor cosmetic fixes
2012-11-29 09:06:15 +01:00
Vladislav Vaintroub
45e56a31e4 fix typo in shared library versioning 2012-11-29 01:58:44 +01:00
Vladislav Vaintroub
26cd7202d2 set include directory correctly 2012-11-28 22:44:42 +01:00
wlad
d5b3894a1c re-branding 2012-11-28 23:13:00 +01:00
Vladislav Vaintroub
38ce0651c4 fix typo 2012-11-28 14:09:17 +01:00
Vladislav Vaintroub
33c97ff3da more fixes, do not compile zlib library if system one is not found. Instead, add zlib source files to the libmysql_sources 2012-11-28 12:30:33 +01:00
Vladislav Vaintroub
9b2446d304 More CMake fixes, use system zlib when possible 2012-11-28 03:00:18 +01:00
Vladislav Vaintroub
0950131eef as-needed is not recognized on mint 2012-11-28 02:43:39 +01:00
Vladislav Vaintroub
0cbcf00de7 Further CMake fixes
ensure no unresolved symbols in shared library
2012-11-28 03:29:05 +01:00
Vladislav Vaintroub
75777afec1 Fix export symbols from shared library on Windows, again 2012-11-28 01:04:21 +01:00
Vladislav Vaintroub
0343420876 Fix build if openssl is not found
various cosmetic bugs in cmake
2012-11-28 00:53:08 +01:00
Georg Richter
44a2b3ccc5 Fixed crash when trying to call mysql_close twice
Fixed mysql_config
Header changes
2012-11-27 09:57:10 +01:00
Georg Richter
4f800647f2 - Added documentation (docbook based)
- To build the documentation use cmake . -DBUILD_DOCS=yes
- minor fixes in tests
2012-11-26 11:23:56 +01:00
Georg Richter
012b30ae15 Added openssl layer support
Imported libmysql unittests
Added simple ssl tests
minor cleanup
2012-11-26 08:32:41 +01:00
Georg Richter
dd3d0d6f52 First implementation based on libmysql 3.23.58 and php's mysqlnd extension 2012-11-14 18:43:45 +01:00
ghost
18cb6a1407 Initial import 2011-10-10 14:01:17 +03:00