@@ -368,132 +368,102 @@ void _mysqlnd_init_ps_fetch_subsystem()
368
368
mysqlnd_ps_fetch_functions [MYSQL_TYPE_NULL ].func = ps_fetch_null ;
369
369
mysqlnd_ps_fetch_functions [MYSQL_TYPE_NULL ].pack_len = 0 ;
370
370
mysqlnd_ps_fetch_functions [MYSQL_TYPE_NULL ].php_type = IS_NULL ;
371
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_NULL ].can_ret_as_str_in_uni = TRUE;
372
371
373
372
mysqlnd_ps_fetch_functions [MYSQL_TYPE_TINY ].func = ps_fetch_int8 ;
374
373
mysqlnd_ps_fetch_functions [MYSQL_TYPE_TINY ].pack_len = 1 ;
375
374
mysqlnd_ps_fetch_functions [MYSQL_TYPE_TINY ].php_type = IS_LONG ;
376
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_TINY ].can_ret_as_str_in_uni = TRUE;
377
375
378
376
mysqlnd_ps_fetch_functions [MYSQL_TYPE_SHORT ].func = ps_fetch_int16 ;
379
377
mysqlnd_ps_fetch_functions [MYSQL_TYPE_SHORT ].pack_len = 2 ;
380
378
mysqlnd_ps_fetch_functions [MYSQL_TYPE_SHORT ].php_type = IS_LONG ;
381
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_SHORT ].can_ret_as_str_in_uni = TRUE;
382
379
383
380
mysqlnd_ps_fetch_functions [MYSQL_TYPE_YEAR ].func = ps_fetch_int16 ;
384
381
mysqlnd_ps_fetch_functions [MYSQL_TYPE_YEAR ].pack_len = 2 ;
385
382
mysqlnd_ps_fetch_functions [MYSQL_TYPE_YEAR ].php_type = IS_LONG ;
386
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_YEAR ].can_ret_as_str_in_uni = TRUE;
387
383
388
384
mysqlnd_ps_fetch_functions [MYSQL_TYPE_INT24 ].func = ps_fetch_int32 ;
389
385
mysqlnd_ps_fetch_functions [MYSQL_TYPE_INT24 ].pack_len = 4 ;
390
386
mysqlnd_ps_fetch_functions [MYSQL_TYPE_INT24 ].php_type = IS_LONG ;
391
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_INT24 ].can_ret_as_str_in_uni = TRUE;
392
387
393
388
mysqlnd_ps_fetch_functions [MYSQL_TYPE_LONG ].func = ps_fetch_int32 ;
394
389
mysqlnd_ps_fetch_functions [MYSQL_TYPE_LONG ].pack_len = 4 ;
395
390
mysqlnd_ps_fetch_functions [MYSQL_TYPE_LONG ].php_type = IS_LONG ;
396
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_LONG ].can_ret_as_str_in_uni = TRUE;
397
391
398
392
mysqlnd_ps_fetch_functions [MYSQL_TYPE_LONGLONG ].func = ps_fetch_int64 ;
399
393
mysqlnd_ps_fetch_functions [MYSQL_TYPE_LONGLONG ].pack_len = 8 ;
400
394
mysqlnd_ps_fetch_functions [MYSQL_TYPE_LONGLONG ].php_type = IS_LONG ;
401
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_LONGLONG ].can_ret_as_str_in_uni = TRUE;
402
395
403
396
mysqlnd_ps_fetch_functions [MYSQL_TYPE_FLOAT ].func = ps_fetch_float ;
404
397
mysqlnd_ps_fetch_functions [MYSQL_TYPE_FLOAT ].pack_len = 4 ;
405
398
mysqlnd_ps_fetch_functions [MYSQL_TYPE_FLOAT ].php_type = IS_DOUBLE ;
406
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_FLOAT ].can_ret_as_str_in_uni = TRUE;
407
399
408
400
mysqlnd_ps_fetch_functions [MYSQL_TYPE_DOUBLE ].func = ps_fetch_double ;
409
401
mysqlnd_ps_fetch_functions [MYSQL_TYPE_DOUBLE ].pack_len = 8 ;
410
402
mysqlnd_ps_fetch_functions [MYSQL_TYPE_DOUBLE ].php_type = IS_DOUBLE ;
411
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_DOUBLE ].can_ret_as_str_in_uni = TRUE;
412
403
413
404
mysqlnd_ps_fetch_functions [MYSQL_TYPE_TIME ].func = ps_fetch_time ;
414
405
mysqlnd_ps_fetch_functions [MYSQL_TYPE_TIME ].pack_len = MYSQLND_PS_SKIP_RESULT_W_LEN ;
415
406
mysqlnd_ps_fetch_functions [MYSQL_TYPE_TIME ].php_type = IS_STRING ;
416
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_TIME ].can_ret_as_str_in_uni = TRUE;
417
407
418
408
mysqlnd_ps_fetch_functions [MYSQL_TYPE_DATE ].func = ps_fetch_date ;
419
409
mysqlnd_ps_fetch_functions [MYSQL_TYPE_DATE ].pack_len = MYSQLND_PS_SKIP_RESULT_W_LEN ;
420
410
mysqlnd_ps_fetch_functions [MYSQL_TYPE_DATE ].php_type = IS_STRING ;
421
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_DATE ].can_ret_as_str_in_uni = TRUE;
422
411
423
412
mysqlnd_ps_fetch_functions [MYSQL_TYPE_NEWDATE ].func = ps_fetch_string ;
424
413
mysqlnd_ps_fetch_functions [MYSQL_TYPE_NEWDATE ].pack_len = MYSQLND_PS_SKIP_RESULT_W_LEN ;
425
414
mysqlnd_ps_fetch_functions [MYSQL_TYPE_NEWDATE ].php_type = IS_STRING ;
426
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_NEWDATE ].can_ret_as_str_in_uni = TRUE;
427
415
428
416
mysqlnd_ps_fetch_functions [MYSQL_TYPE_DATETIME ].func = ps_fetch_datetime ;
429
417
mysqlnd_ps_fetch_functions [MYSQL_TYPE_DATETIME ].pack_len = MYSQLND_PS_SKIP_RESULT_W_LEN ;
430
418
mysqlnd_ps_fetch_functions [MYSQL_TYPE_DATETIME ].php_type = IS_STRING ;
431
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_DATETIME ].can_ret_as_str_in_uni = TRUE;
432
419
433
420
mysqlnd_ps_fetch_functions [MYSQL_TYPE_TIMESTAMP ].func = ps_fetch_datetime ;
434
421
mysqlnd_ps_fetch_functions [MYSQL_TYPE_TIMESTAMP ].pack_len = MYSQLND_PS_SKIP_RESULT_W_LEN ;
435
422
mysqlnd_ps_fetch_functions [MYSQL_TYPE_TIMESTAMP ].php_type = IS_STRING ;
436
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_TIMESTAMP ].can_ret_as_str_in_uni = TRUE;
437
423
438
424
mysqlnd_ps_fetch_functions [MYSQL_TYPE_JSON ].func = ps_fetch_string ;
439
425
mysqlnd_ps_fetch_functions [MYSQL_TYPE_JSON ].pack_len = MYSQLND_PS_SKIP_RESULT_STR ;
440
426
mysqlnd_ps_fetch_functions [MYSQL_TYPE_JSON ].php_type = IS_STRING ;
441
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_JSON ].is_possibly_blob = TRUE;
442
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_JSON ].can_ret_as_str_in_uni = TRUE;
443
427
444
428
mysqlnd_ps_fetch_functions [MYSQL_TYPE_TINY_BLOB ].func = ps_fetch_string ;
445
429
mysqlnd_ps_fetch_functions [MYSQL_TYPE_TINY_BLOB ].pack_len = MYSQLND_PS_SKIP_RESULT_STR ;
446
430
mysqlnd_ps_fetch_functions [MYSQL_TYPE_TINY_BLOB ].php_type = IS_STRING ;
447
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_TINY_BLOB ].is_possibly_blob = TRUE;
448
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_TINY_BLOB ].can_ret_as_str_in_uni = TRUE;
449
431
450
432
mysqlnd_ps_fetch_functions [MYSQL_TYPE_BLOB ].func = ps_fetch_string ;
451
433
mysqlnd_ps_fetch_functions [MYSQL_TYPE_BLOB ].pack_len = MYSQLND_PS_SKIP_RESULT_STR ;
452
434
mysqlnd_ps_fetch_functions [MYSQL_TYPE_BLOB ].php_type = IS_STRING ;
453
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_BLOB ].is_possibly_blob = TRUE;
454
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_BLOB ].can_ret_as_str_in_uni = TRUE;
455
435
456
436
mysqlnd_ps_fetch_functions [MYSQL_TYPE_MEDIUM_BLOB ].func = ps_fetch_string ;
457
437
mysqlnd_ps_fetch_functions [MYSQL_TYPE_MEDIUM_BLOB ].pack_len = MYSQLND_PS_SKIP_RESULT_STR ;
458
438
mysqlnd_ps_fetch_functions [MYSQL_TYPE_MEDIUM_BLOB ].php_type = IS_STRING ;
459
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_MEDIUM_BLOB ].is_possibly_blob = TRUE;
460
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_MEDIUM_BLOB ].can_ret_as_str_in_uni = TRUE;
461
439
462
440
mysqlnd_ps_fetch_functions [MYSQL_TYPE_LONG_BLOB ].func = ps_fetch_string ;
463
441
mysqlnd_ps_fetch_functions [MYSQL_TYPE_LONG_BLOB ].pack_len = MYSQLND_PS_SKIP_RESULT_STR ;
464
442
mysqlnd_ps_fetch_functions [MYSQL_TYPE_LONG_BLOB ].php_type = IS_STRING ;
465
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_LONG_BLOB ].is_possibly_blob = TRUE;
466
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_LONG_BLOB ].can_ret_as_str_in_uni = TRUE;
467
443
468
444
mysqlnd_ps_fetch_functions [MYSQL_TYPE_BIT ].func = ps_fetch_bit ;
469
445
mysqlnd_ps_fetch_functions [MYSQL_TYPE_BIT ].pack_len = 8 ;
470
446
mysqlnd_ps_fetch_functions [MYSQL_TYPE_BIT ].php_type = IS_LONG ;
471
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_BIT ].can_ret_as_str_in_uni = TRUE;
472
447
473
448
mysqlnd_ps_fetch_functions [MYSQL_TYPE_VAR_STRING ].func = ps_fetch_string ;
474
449
mysqlnd_ps_fetch_functions [MYSQL_TYPE_VAR_STRING ].pack_len = MYSQLND_PS_SKIP_RESULT_STR ;
475
450
mysqlnd_ps_fetch_functions [MYSQL_TYPE_VAR_STRING ].php_type = IS_STRING ;
476
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_VAR_STRING ].is_possibly_blob = TRUE;
477
451
478
452
mysqlnd_ps_fetch_functions [MYSQL_TYPE_VARCHAR ].func = ps_fetch_string ;
479
453
mysqlnd_ps_fetch_functions [MYSQL_TYPE_VARCHAR ].pack_len = MYSQLND_PS_SKIP_RESULT_STR ;
480
454
mysqlnd_ps_fetch_functions [MYSQL_TYPE_VARCHAR ].php_type = IS_STRING ;
481
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_VARCHAR ].is_possibly_blob = TRUE;
482
455
483
456
mysqlnd_ps_fetch_functions [MYSQL_TYPE_STRING ].func = ps_fetch_string ;
484
457
mysqlnd_ps_fetch_functions [MYSQL_TYPE_STRING ].pack_len = MYSQLND_PS_SKIP_RESULT_STR ;
485
458
mysqlnd_ps_fetch_functions [MYSQL_TYPE_STRING ].php_type = IS_STRING ;
486
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_STRING ].is_possibly_blob = TRUE;
487
459
488
460
mysqlnd_ps_fetch_functions [MYSQL_TYPE_DECIMAL ].func = ps_fetch_string ;
489
461
mysqlnd_ps_fetch_functions [MYSQL_TYPE_DECIMAL ].pack_len = MYSQLND_PS_SKIP_RESULT_STR ;
490
462
mysqlnd_ps_fetch_functions [MYSQL_TYPE_DECIMAL ].php_type = IS_STRING ;
491
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_DECIMAL ].can_ret_as_str_in_uni = TRUE;
492
463
493
464
mysqlnd_ps_fetch_functions [MYSQL_TYPE_NEWDECIMAL ].func = ps_fetch_string ;
494
465
mysqlnd_ps_fetch_functions [MYSQL_TYPE_NEWDECIMAL ].pack_len = MYSQLND_PS_SKIP_RESULT_STR ;
495
466
mysqlnd_ps_fetch_functions [MYSQL_TYPE_NEWDECIMAL ].php_type = IS_STRING ;
496
- mysqlnd_ps_fetch_functions [MYSQL_TYPE_NEWDECIMAL ].can_ret_as_str_in_uni = TRUE;
497
467
498
468
mysqlnd_ps_fetch_functions [MYSQL_TYPE_ENUM ].func = ps_fetch_string ;
499
469
mysqlnd_ps_fetch_functions [MYSQL_TYPE_ENUM ].pack_len = MYSQLND_PS_SKIP_RESULT_STR ;
0 commit comments