summaryrefslogtreecommitdiff
path: root/ext/mysqlnd
Commit message (Collapse)AuthorAgeFilesLines
...
* | | mysqlnd refactoring :Andrey Hristov2015-11-165-47/+49
| | | | | | | | | | | | | | | - move the command buffer out of the networking code to the protocol frame codec.
* | | Merge branch 'PHP-7.0'Andrey Hristov2015-11-162-0/+1254
|\ \ \ | |/ /
| * | Merge branch 'PHP-5.6' into PHP-7.0Andrey Hristov2015-11-161-0/+4
| |\ \ | | |/
| | * News for fixed bug #68344Andrey Hristov2015-11-161-0/+4
| | |
* | | - Remove dead macrom mysql_list_fields()Andrey Hristov2015-11-164-18/+22
| | | | | | | | | | | | - Small optimizations here and there
* | | Unused varXinchen Hui2015-11-161-0/+2
| | |
* | | Merge branch 'PHP-7.0'Xinchen Hui2015-11-161-4/+0
|\ \ \ | |/ /
| * | Merge branch 'PHP-5.6' into PHP-7.0Xinchen Hui2015-11-161-4/+0
| |\ \ | | |/ | | | | | | | | | Conflicts: ext/mysql/php_mysql.c
| | * Fixed bug #68077 (LOAD DATA LOCAL INFILE / open_basedir restriction)Xinchen Hui2015-11-161-4/+0
| | | | | | | | | | | | Actually, this only be fixed if php uses mysqlnd
* | | Fixed compilation errorsDmitry Stogov2015-11-131-6/+6
| | |
* | | MNDR:Andrey Hristov2015-11-122-91/+101
| | | | | | | | | | | | - constify some parameters to MYSQLND_RES functions
* | | MNDR:Andrey Hristov2015-11-122-98/+106
| | | | | | | | | | | | | | | | | | - cleanup in mysqlnd_result.c - switch from zend_ulong to size_t for lengths. Accordingly change mysqli and pdo_mysql for this.
* | | MNDR:Andrey Hristov2015-11-124-258/+258
| | | | | | | | | | | | - rename mysqlnd.c to mysqlnd_connection.c
* | | MNDR:Andrey Hristov2015-11-126-280/+269
| | | | | | | | | | | | | | | - less dereferencing in mysqlnd_ps . Dereference stmt->conn only once and use a stack variable. Also make the source cleaner.
* | | MNDR:Andrey Hristov2015-11-124-12/+0
| | | | | | | | | | | | - remove unused macros
* | | MNDR:Andrey Hristov2015-11-1228-461/+582
| | | | | | | | | | | | - move things out of mysqlnd_priv.h
* | | MNDR:Andrey Hristov2015-11-1210-42/+24
| | | | | | | | | | | | - remove inclusion of uneeded headers
* | | MNDR:Andrey Hristov2015-11-129-1456/+1518
| | | | | | | | | | | | - move the command factory to own file - mysqlnd_commands.c
* | | MNDR:Andrey Hristov2015-11-121-1/+1
| | | | | | | | | | | | - route the option to the right handler
* | | MNDR:Andrey Hristov2015-11-125-78/+72
| | | | | | | | | | | | - move all data members from MYSQLND_PFC to MYSQLND_PFC_DATA
* | | MNDR:Andrey Hristov2015-11-127-83/+82
| | | | | | | | | | | | | | | - move from char* + len to MYSQLND_STRING - add some more const modifiers
* | | MNDR:Andrey Hristov2015-11-1218-693/+725
| | | | | | | | | | | | - better name for MYSQLND_PPEC - MYSQLND_PFC (protocol frame codec)
* | | MNDR:Andrey Hristov2015-11-1213-235/+247
| | | | | | | | | | | | | | | - rename MYSQLND_NET to MYSQLND_PPEC (protocol packet envelope codec). PPEC does only the encoding and decoding to the protocol frame.
* | | MNDR:Andrey Hristov2015-11-122-513/+512
| | | | | | | | | | | | | | | - intermediate step to move MYSQLND_NET from mysqlnd_vio.c to mysqlnd_wireprotocol.c In following commits MYSQLND_NET's methods and data will be moved to MYSQLND_PROTOCOL
* | | MNDR:Andrey Hristov2015-11-127-4/+4
| | | | | | | | | | | | - moved networking code to mysqlnd_vio.c
* | | MNDR:Andrey Hristov2015-11-1212-260/+537
| | | | | | | | | | | | | | | | | | | | | - split MYSQLND_NET into MYSQLND_NET and MYSQLND_VIO MYSQLND_NET is above MYSQLND_VIO. _NET takes care of protocol packet counting (even with compressed), while VIO is just about the network (or in case of windows, non-network, but PIPE) transport.
* | | MNDR:Andrey Hristov2015-11-121-15/+15
| | | | | | | | | | | | - some small renaming of methods
* | | MNDR:Andrey Hristov2015-11-123-185/+244
| | | | | | | | | | | | - send_command and send_command_handle_response_* moved to a structure
* | | MNDR:Andrey Hristov2015-11-123-55/+78
| | | | | | | | | | | | - Move transport string generation to own function, which can be overloaded or sniffed
* | | MNDR:Andrey Hristov2015-11-121-5/+1
| | | | | | | | | | | | - remove double decrement
* | | MNDR:Andrey Hristov2015-11-127-175/+274
| | | | | | | | | | | | - move connection establishment code to own command - COM_HANDSHAKE
* | | MNDR:Andrey Hristov2015-11-123-37/+31
| | | | | | | | | | | | - convert the API of MYSQLND_NET to MYSQLND_STRING
* | | MNDR:Andrey Hristov2015-11-123-113/+233
| | | | | | | | | | | | - decouple the commands from the connection. CONN ist passed now only in 1 case
* | | MNDR:Andrey Hristov2015-11-121-41/+1
| | | | | | | | | | | | - remove dead code
* | | MNDR:Andrey Hristov2015-11-125-95/+93
| | | | | | | | | | | | - clean up some things
* | | MNDR:Andrey Hristov2015-11-123-25/+26
| | | | | | | | | | | | - move COM_INIT_DE result handling to the command
* | | MNDR:Andrey Hristov2015-11-125-160/+3
| | | | | | | | | | | | - remove COM_FIELD_LIST
* | | MNDR:Andrey Hristov2015-11-122-46/+55
| | | | | | | | | | | | - move handling of commands to the command itself
* | | MNDR:Andrey Hristov2015-11-124-184/+117
| | | | | | | | | | | | - split handle_response() into handle_OK and handle_EOF
* | | MNDR:Andrey Hristov2015-11-129-229/+354
| | | | | | | | | | | | | | | - now send_command_handle_response() also doesn't depend directly on MYSQLND_CONN_DATA
* | | MNDR:Andrey Hristov2015-11-123-48/+155
| | | | | | | | | | | | | | | - pass connection closer and its context - remove unused parameter
* | | MNDR:Andrey Hristov2015-11-126-87/+90
| | | | | | | | | | | | - rename the macro for updating the connection state
* | | MNDR:Andrey Hristov2015-11-124-39/+71
| | | | | | | | | | | | - make the connection state a class
* | | MNDR:Andrey Hristov2015-11-121-3/+2
| | | | | | | | | | | | - simplify the macroses for the types
* | | MNDR:Andrey Hristov2015-11-125-91/+124
| | | | | | | | | | | | - switch to macro generation of structure names for the methods
* | | MNDR:Andrey Hristov2015-11-122-67/+25
| | | | | | | | | | | | - Remove the SET_STMT_ERROR macro
* | | MNDR:Andrey Hristov2015-11-1213-349/+396
| | | | | | | | | | | | - make MYSQLND_ERROR_INFO a class
* | | MNDR:Andrey Hristov2015-11-121-23/+22
| | | | | | | | | | | | | | | - switch to MYSQLND_CLASS_METHOD_TABLE_NAME_DECL() for automatic naming of class methods
* | | MDNR:Andrey Hristov2015-11-128-62/+203
| | | | | | | | | | | | | | | - make MYSQLND_UPSERT_STATUS more like an object that a simple structure Still use macros to make updates simple
* | | MNDR:Andrey Hristov2015-11-123-114/+177
| | | | | | | | | | | | - abstract SSL enabling into COM_ENABLE_SSL