Darek Slusarczyk
a4406f9f59
Follow PHP practice and remove yearly range from copyright notice
2021-01-22 18:13:08 +01:00
Darek Slusarczyk
c4930e0a02
Follow PHP practice and remove yearly range from copyright notice
2021-01-22 16:31:33 +01:00
Darek Slusarczyk
28b331235f
orabug #32239070 : fix build against PHP-8.0
...
- fix constructor handlers - they cannot be declared nullptr
2020-12-15 17:38:50 +01:00
Darek Slusarczyk
dee08675cc
orabug #30134451 : mysqlndx replace raw zval with improved zvalue where possible
...
refactorings in:
- session, statement, sql result iterator
- remove function to_zend_string and all related
2020-08-27 17:29:21 +02:00
Darek Slusarczyk
ba95641ed9
orabug #30134451 : mysqlndx replace raw zval with improved zvalue where possible
...
apply util::zvalue and util::raw_zval in place of raw zval* in:
- json utils
- column metadata
- index commands
- collection / table commands
2020-08-24 18:22:15 +02:00
Darek Slusarczyk
c6b00dc0a8
orabug #30134451 : mysqlndx replace raw zval with improved zvalue where possible
...
- functions.h rename functions to get_function_arguments and get_method_arguments
- apply util::zvalue and util::arg_zvals in place of raw zval*
2020-08-12 18:27:50 +02:00
Darek Slusarczyk
38fb04fd1a
orabug #30134451 : mysqlndx replace raw zval with improved zvalue where possible
...
- expression object refactoring
- rename static util::zvalue::copy_to(src, dst) => util::zvalue::copy_from_to(src, dst)
- rename static util::zvalue::move_to(src, dst) => util::zvalue::move_from_to(src, dst)
- refactoring of statement execution routines
- refactoring in collection and table ops
- remove dead code
2020-08-06 17:28:47 +02:00
Darek Slusarczyk
a75ced6a60
orabug #30134451 : mysqlndx replace raw zval with improved zvalue where possible
...
- add util::raw_zvals to process variable number of zval* arguments (zval[])
- move raw_zval to util::raw_zval
- apply util::raw_zvals in mysqlx_collection.cc and mysqlx_collection__add.cc
- rename mysqlx_new_* functions to create_*
2020-07-31 08:30:31 +02:00
Darek Slusarczyk
4906c05a39
orabug #30134451 : mysqlndx replace raw zval with improved zvalue where possible
...
- refactor mysqlx_new* functions with util::init_object to use and return util::zvalue
- introduce raw_zval (temporary?) alias for zval (used where raw zval may be not replaced by util::zvalue)
- remove unnecessary util/hash_table.cc|.h
2020-07-29 22:21:28 +02:00
Darek Slusarczyk
ce6fc5e2d8
orabug #31414039 : mysqlndx apply std::string_view, remove MYSQLND_CSTRING
...
- add util::param_string for input PHP arguments
- remove custom util::string_view class
- add new alias util::string_view equal to std::string_view from C++17
- replace all occurrences of MYSQLND_CSTRING with new util::string_view
- replace all occurrences of MYSQLND_STRING with util::string
- few other fixes and refactorings
2020-07-22 14:42:12 +02:00
Darek Slusarczyk
6fdbacc779
orabug #31414039 : mysqlndx apply std::string_view, remove MYSQLND_CSTRING
...
- convert MYSQLND_CSTRING => util::string_view
- refactoring of xmysqlnd_warning_list
2020-05-28 21:35:55 +02:00
Darek Slusarczyk
62d82aad61
refactoring 'const struct st_' => 'const st_'
2020-05-13 20:06:26 +02:00
Darek Slusarczyk
976cea905c
orabug #30134490 : apply helpers from util/object.h
...
- apply util::alloc_object
2020-04-02 15:21:18 +02:00
Darek Slusarczyk
114b42d0d4
orabug #30134490 : apply helpers from util/object.h
...
- apply MYSQL_XDEVAPI_REGISTER_CLASS
- add and apply new macro MYSQL_XDEVAPI_REGISTER_INTERFACE
- improve and apply macro MYSQL_XDEVAPI_REGISTER_DERIVED_CLASS
2020-04-02 14:50:50 +02:00
Darek Slusarczyk
fe61d983db
orabug #30134490 : apply helpers from util/object.h
...
- apply util::free_object
2020-04-01 13:53:21 +02:00
Darek Slusarczyk
1c12d7f730
orabug #30134490 : apply helpers from util/object.h
...
- apply util::init_object in place of raw object_init_ex
- fix related tests
- other tiny style refactorings
2020-03-30 15:26:09 +02:00
Darek Slusarczyk
14992276e8
orabug #30134490 : apply helpers from util/object.h
...
- remove MYSQLX_FETCH_*_FROM_ZVAL macros and refactor related code
- fix related tests
2020-03-27 13:12:49 +01:00
Darek Slusarczyk
0bd71fe407
copyrights update 2019 => 2020
2019-11-06 12:29:29 +01:00
Darek Slusarczyk
17bb0a23ca
orabug #30084593 : get rid of vim "decorators"
...
- remove all routine closing signatures /* }}} */
2019-09-10 19:06:25 +02:00
Darek Slusarczyk
2f942e9658
orabug #30084593 : get rid of vim "decorators"
...
- remove rest of function signatures with complex pattern
2019-09-10 19:01:18 +02:00
Darek Slusarczyk
8849c82a9f
orabug #30084593 : get rid of vim "decorators"
...
- remove all method signatures /* {{{ (proto mixed)? ${class_name}::${method_name}(${arg_type} ${arg_name}) */
2019-09-10 18:50:12 +02:00
Darek Slusarczyk
24df20a17f
orabug #30084593 : get rid of vim "decorators"
...
- remove all function signatures /* {{{ ${function_name}[] */
2019-09-10 18:29:44 +02:00
Darek Slusarczyk
9cbb6dcde6
orabug #30084593 : get rid of vim "decorators"
...
- remove all method signatures /* {{{ ${class_name}::${method_name} */
2019-09-10 18:24:30 +02:00
Darek Slusarczyk
b7f602be6c
orabug #30084593 : get rid of vim "decorators"
...
- remove all function signatures /* {{{ ${function_name} */
2019-09-10 18:19:59 +02:00
Darek Slusarczyk
921771f069
orabug #30084593 : get rid of vim "decorators"
...
- remove all footers with vim params, similarly as PHP devs removed it in PHP-7.4
2019-07-23 22:29:44 +02:00
Filip Janiszewski
f150500677
WL#12188: Prepared Statement
...
Implementation of the feature
2019-02-26 08:14:17 +01:00
Darek Slusarczyk
74b67067f4
copyrights update 2018 => 2019
2019-02-01 22:14:35 +01:00
Darek Slusarczyk
a02796bae7
orabug #28803201 fieldmetadata and columnresult are returning different information about columns
...
- remove redundant FieldMetadata class
- fix tests
2018-11-20 21:23:12 +01:00
Darek Slusarczyk
b2a86cc8f3
release 8.0.13
...
- update package.xml for 8.0.13
- update README - move info about building into ./docbook/setup.xml
- remove trailing whitespaces
2018-10-05 23:24:00 +02:00
Darek Slusarczyk
36ae86d2f8
fix warning on fedora28-x86-64bit (newer, more restrictive gcc)
2018-09-13 21:24:57 +02:00
Darek Slusarczyk
78f739ab97
WL#11851: enable treat warning as error
...
- clear warnings for PHP-7.3
2018-08-04 21:13:04 +02:00
Darek Slusarczyk
97dd993339
WL#11851: enable treat warning as error
...
- clear warnings for PHP-7.3
2018-08-04 20:16:11 +02:00
Darek Slusarczyk
ddde79d4e1
merge issues fixed
2018-07-01 23:45:13 +02:00
Darek Slusarczyk
949ff2c6f0
Merge remote-tracking branch 'remotes/origin/wl-11276-locking-nowait-skip' into master-downstream
...
# Conflicts:
# messages/mysqlx_message__auth_continue.cc
# mysqlx_base_result_iterator.cc
# mysqlx_collection.cc
# mysqlx_collection__add.cc
# mysqlx_collection_index.cc
# mysqlx_schema.cc
# mysqlx_session.cc
# mysqlx_sql_statement.cc
# mysqlx_sql_statement_result.cc
# mysqlx_table.cc
# xmysqlnd/xmysqlnd_collection.cc
# xmysqlnd/xmysqlnd_extension_plugin.h
# xmysqlnd/xmysqlnd_object_factory.h
# xmysqlnd/xmysqlnd_rowset_buffered.cc
# xmysqlnd/xmysqlnd_rowset_fwd.cc
# xmysqlnd/xmysqlnd_schema.cc
# xmysqlnd/xmysqlnd_session.cc
# xmysqlnd/xmysqlnd_stmt.cc
# xmysqlnd/xmysqlnd_table.cc
# xmysqlnd/xmysqlnd_wireprotocol.cc
# xmysqlnd/xmysqlnd_wireprotocol.h
2018-07-01 23:05:04 +02:00
Darek Slusarczyk
976cbcb46c
- gather all mysqlnd headers in one mysqlnd_api.h header
...
- clear warnings for msvc /W4 level
- add MYSQLX_* macros to overwrite some ZEND_ macros to clear/suppress above warnings
- overwrite some mysqlnd DBG_ macros to clear/suppress above warnings
- UNUSED* macros for unreferenced variables
2018-06-23 19:23:09 +02:00
Filip Janiszewski
f73b37f8e5
WL#11960: Methods refactoring
...
Implementation.
2018-06-22 09:02:47 +02:00
Darek Slusarczyk
74b784e36c
WL#11947 add zend_parse_method_parameters wrapper to check correctness of arglists
...
- fix arglists
2018-04-23 20:16:36 +02:00
Darek Slusarczyk
6943c9425f
WL#11947 add zend_parse_method_parameters wrapper to check correctness of arglists
...
- change zend_parse_method_parameters to util::zend::parse_method_parameters in all handlers
- fix few arglists
2018-04-21 21:11:56 +02:00
Darek Slusarczyk
ea7c1440b2
refactoring - big removal of 'node' token
...
- replace all XMYSQLND_NODE_ => XMYSQLND_
build/tests pass
2018-03-14 20:08:46 +01:00
Darek Slusarczyk
058e78a3fd
refactoring - big removal of 'node' token
...
- replace all
a) MYSQLX_NODE_ => MYSQLX_
b) MYSQLX_FETCH_NODE_ => MYSQLX_FETCH_
build/tests pass
2018-03-14 20:03:33 +01:00
Darek Slusarczyk
950bc08c53
refactoring - big removal of 'node' token
...
- replace all xmysqlnd_node_ => xmysqlnd_
build/tests pass
2018-03-14 19:26:14 +01:00
Darek Slusarczyk
63e409b6fa
refactoring - big removal of 'node' token
...
- replace all mysqlx_object_node_ => mysqlx_object_
build/tests pass
2018-03-14 19:21:29 +01:00
Darek Slusarczyk
5d03e542b0
refactoring - big removal of 'node' token
...
- replace all mysqlx_unregister_node_ => mysqlx_unregister_
build/tests pass
2018-03-14 18:47:25 +01:00
Darek Slusarczyk
0e0847b2e7
refactoring - big removal of 'node' token
...
- replace all mysqlx_new_node_ => mysqlx_new_
build/tests pass
2018-03-14 18:43:14 +01:00
Darek Slusarczyk
7b36d45fc6
refactoring - big removal of 'node' token
...
- replace all mysqlx_register_node_ => mysqlx_register_
build/tests pass
2018-03-14 18:39:25 +01:00
Darek Slusarczyk
db933ff69f
refactoring - big removal of 'node' token
...
- replace all mysqlx_node_ => mysqlx_
build/tests pass
2018-03-14 18:35:49 +01:00
Darek Slusarczyk
a74fc42fee
refactoring - big removal of 'node' token
...
- replace all st_xmysqlnd_node_ => st_xmysqlnd_
build/tests pass
2018-03-14 18:21:49 +01:00
Darek Slusarczyk
c6ede4ae84
refactoring - big removal of 'node' token
...
- fix #includes after infix "_node" was removed from all file names
build/tests pass
2018-03-14 18:14:15 +01:00
Darek Slusarczyk
8d0bf9fcd5
refactoring - big removal of 'node' token
...
- rename all files with "_node" infix (just remove it)
2018-03-14 17:46:23 +01:00