php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
mysqlnd_ps_codec.c File Reference
#include <math.h>
#include "php.h"
#include "mysqlnd.h"
#include "mysqlnd_wireprotocol.h"
#include "mysqlnd_connection.h"
#include "mysqlnd_ps.h"
#include "mysqlnd_priv.h"
#include "mysqlnd_debug.h"
#include "mysql_float_to_double.h"

Go to the source code of this file.

Data Structures

struct  st_mysqlnd_time
 

Macros

#define MYSQLND_PS_SKIP_RESULT_W_LEN   -1
 
#define MYSQLND_PS_SKIP_RESULT_STR   -2
 
#define NOT_FIXED_DEC   31
 

Enumerations

enum  mysqlnd_timestamp_type {
  MYSQLND_TIMESTAMP_NONE = -2 , MYSQLND_TIMESTAMP_ERROR = -1 , MYSQLND_TIMESTAMP_DATE = 0 , MYSQLND_TIMESTAMP_DATETIME = 1 ,
  MYSQLND_TIMESTAMP_TIME = 2
}
 

Functions

void ps_fetch_from_1_to_8_bytes (zval *zv, const MYSQLND_FIELD *const field, const unsigned int pack_len, const zend_uchar **row, unsigned int byte_count)
 
void _mysqlnd_init_ps_fetch_subsystem (void)
 
enum_func_status mysqlnd_stmt_execute_generate_request (MYSQLND_STMT *const s, zend_uchar **request, size_t *request_len, bool *free_buffer)
 

Variables

struct st_mysqlnd_perm_bind mysqlnd_ps_fetch_functions [MYSQL_TYPE_LAST+1]
 

Macro Definition Documentation

◆ MYSQLND_PS_SKIP_RESULT_STR

#define MYSQLND_PS_SKIP_RESULT_STR   -2

Definition at line 51 of file mysqlnd_ps_codec.c.

◆ MYSQLND_PS_SKIP_RESULT_W_LEN

#define MYSQLND_PS_SKIP_RESULT_W_LEN   -1

Definition at line 50 of file mysqlnd_ps_codec.c.

◆ NOT_FIXED_DEC

#define NOT_FIXED_DEC   31

Enumeration Type Documentation

◆ mysqlnd_timestamp_type

Enumerator
MYSQLND_TIMESTAMP_NONE 
MYSQLND_TIMESTAMP_ERROR 
MYSQLND_TIMESTAMP_DATE 
MYSQLND_TIMESTAMP_DATETIME 
MYSQLND_TIMESTAMP_TIME 

Definition at line 29 of file mysqlnd_ps_codec.c.

Function Documentation

◆ _mysqlnd_init_ps_fetch_subsystem()

void _mysqlnd_init_ps_fetch_subsystem ( void )

Definition at line 426 of file mysqlnd_ps_codec.c.

◆ mysqlnd_stmt_execute_generate_request()

enum_func_status mysqlnd_stmt_execute_generate_request ( MYSQLND_STMT *const s,
zend_uchar ** request,
size_t * request_len,
bool * free_buffer )

Definition at line 948 of file mysqlnd_ps_codec.c.

◆ ps_fetch_from_1_to_8_bytes()

void ps_fetch_from_1_to_8_bytes ( zval * zv,
const MYSQLND_FIELD *const field,
const unsigned int pack_len,
const zend_uchar ** row,
unsigned int byte_count )

Definition at line 86 of file mysqlnd_ps_codec.c.

Variable Documentation

◆ mysqlnd_ps_fetch_functions

struct st_mysqlnd_perm_bind mysqlnd_ps_fetch_functions[MYSQL_TYPE_LAST+1]

Definition at line 48 of file mysqlnd_ps_codec.c.