Lines Matching refs:bind_array

10117   MYSQL_BIND bind_array[12], *my_bind= bind_array, *bind_end= my_bind + 12;  in test_bug3035()  local
10168 memset(bind_array, 0, sizeof(bind_array)); in test_bug3035()
10170 for (my_bind= bind_array; my_bind < bind_end; my_bind++) in test_bug3035()
10173 bind_array[0].buffer_type= MYSQL_TYPE_TINY; in test_bug3035()
10174 bind_array[0].buffer= (void *) &int8_val; in test_bug3035()
10176 bind_array[1].buffer_type= MYSQL_TYPE_TINY; in test_bug3035()
10177 bind_array[1].buffer= (void *) &uint8_val; in test_bug3035()
10178 bind_array[1].is_unsigned= 1; in test_bug3035()
10180 bind_array[2].buffer_type= MYSQL_TYPE_SHORT; in test_bug3035()
10181 bind_array[2].buffer= (void *) &int16_val; in test_bug3035()
10183 bind_array[3].buffer_type= MYSQL_TYPE_SHORT; in test_bug3035()
10184 bind_array[3].buffer= (void *) &uint16_val; in test_bug3035()
10185 bind_array[3].is_unsigned= 1; in test_bug3035()
10187 bind_array[4].buffer_type= MYSQL_TYPE_LONG; in test_bug3035()
10188 bind_array[4].buffer= (void *) &int32_val; in test_bug3035()
10190 bind_array[5].buffer_type= MYSQL_TYPE_LONG; in test_bug3035()
10191 bind_array[5].buffer= (void *) &uint32_val; in test_bug3035()
10192 bind_array[5].is_unsigned= 1; in test_bug3035()
10194 bind_array[6].buffer_type= MYSQL_TYPE_LONGLONG; in test_bug3035()
10195 bind_array[6].buffer= (void *) &int64_val; in test_bug3035()
10197 bind_array[7].buffer_type= MYSQL_TYPE_LONGLONG; in test_bug3035()
10198 bind_array[7].buffer= (void *) &uint64_val; in test_bug3035()
10199 bind_array[7].is_unsigned= 1; in test_bug3035()
10209 mysql_stmt_bind_param(stmt, bind_array); in test_bug3035()
10245 bind_array[8].buffer_type= MYSQL_TYPE_DOUBLE; in test_bug3035()
10246 bind_array[8].buffer= (void *) &udouble_val; in test_bug3035()
10248 bind_array[9].buffer_type= MYSQL_TYPE_DOUBLE; in test_bug3035()
10249 bind_array[9].buffer= (void *) &double_val; in test_bug3035()
10251 bind_array[10].buffer_type= MYSQL_TYPE_STRING; in test_bug3035()
10252 bind_array[10].buffer= (void *) &ulonglong_as_string; in test_bug3035()
10253 bind_array[10].buffer_length= sizeof(ulonglong_as_string); in test_bug3035()
10255 bind_array[11].buffer_type= MYSQL_TYPE_STRING; in test_bug3035()
10256 bind_array[11].buffer= (void *) &longlong_as_string; in test_bug3035()
10257 bind_array[11].buffer_length= sizeof(longlong_as_string); in test_bug3035()
10259 mysql_stmt_bind_result(stmt, bind_array); in test_bug3035()
10283 for (my_bind= bind_array; my_bind < bind_end; my_bind++) in test_bug3035()
10585 MYSQL_BIND bind_array[2]; in test_ps_i18n() local
10618 memset(bind_array, 0, sizeof(bind_array)); in test_ps_i18n()
10620 bind_array[0].buffer_type= MYSQL_TYPE_STRING; in test_ps_i18n()
10621 bind_array[0].buffer= (void *) koi8; in test_ps_i18n()
10622 bind_array[0].buffer_length= strlen(koi8); in test_ps_i18n()
10624 bind_array[1].buffer_type= MYSQL_TYPE_STRING; in test_ps_i18n()
10625 bind_array[1].buffer= (void *) koi8; in test_ps_i18n()
10626 bind_array[1].buffer_length= strlen(koi8); in test_ps_i18n()
10636 mysql_stmt_bind_param(stmt, bind_array); in test_ps_i18n()
10652 bind_array[0].buffer= buf1; in test_ps_i18n()
10653 bind_array[0].buffer_length= sizeof(buf1); in test_ps_i18n()
10654 bind_array[0].length= &buf1_len; in test_ps_i18n()
10656 bind_array[1].buffer= buf2; in test_ps_i18n()
10657 bind_array[1].buffer_length= sizeof(buf2); in test_ps_i18n()
10658 bind_array[1].length= &buf2_len; in test_ps_i18n()
10660 mysql_stmt_bind_result(stmt, bind_array); in test_ps_i18n()
10696 bind_array[0].buffer_type= MYSQL_TYPE_STRING; in test_ps_i18n()
10697 bind_array[0].buffer= (void *) koi8; in test_ps_i18n()
10698 bind_array[0].buffer_length= strlen(koi8); in test_ps_i18n()
10700 bind_array[1].buffer_type= MYSQL_TYPE_STRING; in test_ps_i18n()
10701 bind_array[1].buffer= (void *) koi8; in test_ps_i18n()
10702 bind_array[1].buffer_length= strlen(koi8); in test_ps_i18n()
10704 mysql_stmt_bind_param(stmt, bind_array); in test_ps_i18n()
10712 bind_array[0].buffer_type= MYSQL_TYPE_BLOB; in test_ps_i18n()
10713 bind_array[0].buffer= (void *) cp1251; in test_ps_i18n()
10714 bind_array[0].buffer_length= strlen(cp1251); in test_ps_i18n()
10716 bind_array[1].buffer_type= MYSQL_TYPE_BLOB; in test_ps_i18n()
10717 bind_array[1].buffer= (void *) cp1251; in test_ps_i18n()
10718 bind_array[1].buffer_length= strlen(cp1251); in test_ps_i18n()
10720 mysql_stmt_bind_param(stmt, bind_array); in test_ps_i18n()
10738 bind_array[0].buffer= buf1; in test_ps_i18n()
10739 bind_array[0].buffer_length= sizeof(buf1); in test_ps_i18n()
10740 bind_array[0].length= &buf1_len; in test_ps_i18n()
10742 bind_array[1].buffer= buf2; in test_ps_i18n()
10743 bind_array[1].buffer_length= sizeof(buf2); in test_ps_i18n()
10744 bind_array[1].length= &buf2_len; in test_ps_i18n()
10746 mysql_stmt_bind_result(stmt, bind_array); in test_ps_i18n()
12624 MYSQL_BIND *bind_array, *my_bind; in test_truncation() local
12678 bind_array= malloc(sizeof(MYSQL_BIND) * bind_count); in test_truncation()
12679 memset(bind_array, 0, sizeof(MYSQL_BIND) * bind_count); in test_truncation()
12680 for (my_bind= bind_array; my_bind < bind_array + bind_count; my_bind++) in test_truncation()
12682 my_bind= bind_array; in test_truncation()
12688 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12693 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12697 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12702 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12706 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12711 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12716 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12720 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12724 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12728 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12732 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12737 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12741 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12745 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12749 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12753 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12757 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12761 rc= mysql_stmt_bind_result(stmt, bind_array); in test_truncation()
12767 my_bind= bind_array; in test_truncation()
12773 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12777 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12781 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12785 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12789 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12793 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12797 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12801 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12805 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12809 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12812 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12817 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12821 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12825 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12829 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12833 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12837 DIE_UNLESS(my_bind++ < bind_array + bind_count); in test_truncation()
12855 for (my_bind= bind_array; my_bind < bind_array + bind_count; my_bind++) in test_truncation()
12857 free(bind_array); in test_truncation()
17627 MYSQL_BIND bind_array[2]; in test_wl4166_4() local
17653 memset(bind_array, 0, sizeof(bind_array)); in test_wl4166_4()
17655 bind_array[0].buffer_type= MYSQL_TYPE_STRING; in test_wl4166_4()
17657 bind_array[1].buffer_type= MYSQL_TYPE_STRING; in test_wl4166_4()
17658 bind_array[1].buffer= (void *) koi8; in test_wl4166_4()
17659 bind_array[1].buffer_length= strlen(koi8); in test_wl4166_4()
17669 mysql_stmt_bind_param(stmt, bind_array); in test_wl4166_4()
17689 bind_array[0].buffer= buf1; in test_wl4166_4()
17690 bind_array[0].buffer_length= sizeof(buf1); in test_wl4166_4()
17691 bind_array[0].length= &buf1_len; in test_wl4166_4()
17693 bind_array[1].buffer= buf2; in test_wl4166_4()
17694 bind_array[1].buffer_length= sizeof(buf2); in test_wl4166_4()
17695 bind_array[1].length= &buf2_len; in test_wl4166_4()
17697 mysql_stmt_bind_result(stmt, bind_array); in test_wl4166_4()