Commit graph

1031 commits

Author SHA1 Message Date
v-kaywon 3f0d3b65f6 Meranges
e branch 'error_numcol' of https://github.com/v-kaywon/msphpsql into error_numcol

get change
:wq
2017-03-28 11:00:50 -07:00
v-kaywon 4284457b35 fix sqlsrv_statement_cancel.phpt test 2017-03-28 10:59:04 -07:00
v-kaywon 2788965d57 Update pdo_336_pho_exec_empty_result_set_error.phpt 2017-03-28 09:38:15 -07:00
ulvii 234b123fd7 Update sqlsrv_statement_cancel.phpt 2017-03-27 18:42:58 -07:00
ulvii 7c3206ae78 Fixing regex 2017-03-27 18:11:10 -07:00
v-kaywon 7256685a4c workaround for unixODBC bug returning error when pdo::exec query with empty result set 2017-03-27 17:49:01 -07:00
ulvii 6809f0f7ea Workaround for a bug in unixODBC 2.3.4 (#334)
* Adding a workaround for the error handling issue with unixODBC 2.3.4 when conneciton pooling is enabled

* Adding a check to apply the workaround only to PDO SQLSRV

* Update core_util.cpp

* Unix Conn Pool test

* Modifying the test to use autonomous_setup.php

* Updating path to isPooled.php
2017-03-27 14:07:43 -07:00
v-kaywon c1a1a06061 fix crash from getting the numrow of a null buffered result set; add test 2017-03-20 15:58:57 -07:00
Hadis Kakanejadi Fard 1a11767e13 Merge pull request #324 from v-kaywon/attrPersistent
implement throwing exception when ATTR_PERSISTENT is in connection
2017-03-20 13:33:25 -07:00
v-kaywon 20198804bb Update pdo_065_construct_persistent.phpt 2017-03-20 12:42:31 -07:00
v-kaywon d289754362 Update pdo_065_construct_prefetch.phpt 2017-03-20 12:41:36 -07:00
v-kaywon c9492ae487 fix memory leak caused by pecalloced persistent connection; fix test indentation 2017-03-17 16:46:02 -07:00
Hadis Kakanejadi Fard dba4d635c5 Merge pull request #326 from v-kaywon/decimalTest
add test for bind output param with decimal type and scale specified (#321)
2017-03-17 12:45:07 -07:00
v-kaywon 048ecf86fd Update pdo_output_decimal.phpt 2017-03-16 11:48:09 -07:00
v-kaywon 021b070d93 fix pdo_stored_proc_fetch_datatypes.phpt 2017-03-16 10:02:23 -07:00
v-kaywon 9f65c08b37 Update pdo_output_decimal.phpt 2017-03-15 10:19:30 -07:00
v-kaywon 8565882bbb Update pdo_output_decimal.phpt 2017-03-15 09:45:23 -07:00
v-kaywon 43cafcaf86 Update pdo_output_decimal.phpt 2017-03-15 09:26:02 -07:00
v-kaywon 33b5d0bf4c add test for bind output param with decimal type and scale specified 2017-03-14 10:51:51 -07:00
v-kaywon b701fab642 implement throwing exception when ATTR_PERSISTENT is in the connection options; added tests 2017-03-13 17:54:58 -07:00
yitam 5795e0eceb one more test 2017-03-09 14:12:53 -08:00
yitam a10fe30fd5 modified a failing test 2017-03-08 16:13:57 -08:00
yitam 497797ec61 fixed some tests 2017-03-08 15:53:59 -08:00
yitam 9f91c815a4 removed redundant tests 2017-03-08 14:34:56 -08:00
yitam 194f37f8d5 part 5 new sqlsrv tests 2017-03-08 14:17:21 -08:00
yitam 45ea247c3f part 4 fetching various types 2017-03-08 09:55:29 -08:00
yitam e53ca834d3 part 3 testing rowCount 2017-03-07 17:25:39 -08:00
yitam 85391e6478 part 2 testing diff API 2017-03-07 16:47:38 -08:00
yitam aeacaf7a50 part 1 with utf8 data 2017-03-07 15:05:53 -08:00
Hadis Kakanejadi Fard 4532c72eab added client info tests 2017-03-03 18:25:08 -08:00
Jenny Tam 8d2d637a9e Update srv_308_empty_output_param.phpt 2017-03-01 08:20:36 -08:00
yitam 821e7edf5b added a sqlsrv test, a variant 2017-03-01 08:19:10 -08:00
yitam 26c5f1785f Issue #308 2017-02-28 10:04:59 -08:00
yitam efc52c6be6 modified tests based on review 2017-02-27 13:16:12 -08:00
yitam ee1be419be batch 3 2017-02-24 14:11:29 -08:00
yitam 9b22f0c3fc batch 2 2017-02-24 10:58:59 -08:00
yitam 805cd3393c batch 1 2017-02-23 21:40:51 -08:00
Jenny Tam e854a9ca53 Merge pull request #296 from v-dareck/remove_uchar
Remove uchar.h
2017-02-23 13:27:49 -08:00
v-dareck 47d5d809ed Fix baseline for #297 changes. 2017-02-23 11:43:14 -08:00
Jenny Tam 12e6535a7f Merge pull request #297 from Hadis-Fard/dev
issue #270 fix
2017-02-22 14:18:56 -08:00
Hadis Kakanejadi Fard 9ec0956347 fixed comment 2017-02-22 11:25:33 -08:00
Hadis Kakanejadi Fard 29443afc22 fixed string quotes and free stmt 2017-02-22 11:19:04 -08:00
Hadis Kakanejadi Fard f559610293 Changed db to tempdb and random table name 2017-02-22 10:11:27 -08:00
Hadis Kakanejadi Fard c89c46415d fixed indentations 2017-02-22 09:26:57 -08:00
Hadis Kakanejadi Fard 40893c0ebf fixed indentation and typo 2017-02-22 09:21:44 -08:00
Hadis Kakanejadi Fard 73a70da397 caps description 2017-02-21 17:42:39 -08:00
Hadis Kakanejadi Fard a5983ef546 added autonomous setup to test 2017-02-21 16:54:47 -08:00
Hadis Kakanejadi Fard 72e7efbaf6 test fetch binary 2017-02-21 16:05:21 -08:00
v-dareck 13c5d53f78 Update phpt comment. 2017-02-21 13:33:37 -08:00
v-dareck e09b8419d6 Add buffered sqlsrv test. 2017-02-21 13:12:13 -08:00
v-dareck 5951e32886 Remove uchar.h usage from buffered results. 2017-02-20 18:11:27 -08:00
yitam 0705d9b1a8 calculate field size instead of using column size and fixed the parameter encoding 2017-02-20 15:24:41 -08:00
v-dareck 5bff3c5468 Update PHPT comment and script. 2017-02-16 15:25:41 -08:00
v-dareck b96499ff00 Update PHPT comment. 2017-02-16 13:56:02 -08:00
v-dareck 98fd299a31 Add check for SQL_NO_TOTAL for SQLBindParameter out parameter. 2017-02-16 11:50:24 -08:00
yitam bdbfaa7c65 simplified the test without image input 2017-02-14 09:16:52 -08:00
yitam 7ca80918ef add a simple test case with an input file 2017-02-10 14:28:33 -08:00
yitam 27d35af223 Fix and tests for issue #69 2017-02-10 09:51:51 -08:00
Jenny Tam e363a44cf5 Merge pull request #281 from v-dareck/github267_closeCursor
Github #267 close cursor error
2017-02-10 08:04:48 -08:00
v-dareck fc8433ac83 Fix error message in close cursor. Change prepare to query in test. 2017-02-09 16:41:39 -08:00
Jenny Tam a022bcf8a6 Modified the test
to make it more robust
2017-02-09 15:23:38 -08:00
yitam f90be11567 added a test 2017-02-09 13:27:48 -08:00
v-dareck 887857eaf2 In closeCursor check if statement has been executed before moving to next result. 2017-02-08 16:38:12 -08:00
Kirill Gostaf 9f2e67125e Update pdo_023.phpt 2017-02-03 16:28:12 -08:00
Kirill Gostaf 62563d29d5 Test: Bind values with PDO::PARAM_BOOL 2017-02-03 16:07:19 -08:00
Kirill Gostaf 674e7736ac Update srv_037_transaction_rollback.phpt 2017-02-01 13:26:00 -08:00
v-dareck 1268776601 Change FORMAT SQL to CAST as SQL 2008 does not support FORMAT. 2017-02-01 11:48:57 -08:00
v-dareck c61c272dd2 Change $sample calculation to avoid conversion to float. 2017-01-31 19:07:41 -08:00
v-dareck fa4c0e8c4c Merge remaining PHP-7.0-Linux changes into merged codebase. 2017-01-31 18:10:37 -08:00
Kirill Gostaf 1b35af7c8b Update srv_073_database.phpt 2017-01-31 16:42:41 -08:00
Kirill Gostaf 0f10871fec Update srv_074_database_wide_string.phpt 2017-01-31 16:41:48 -08:00
Kirill Gostaf e4a43e1583 Update srv_074_database.phpt 2017-01-31 16:41:17 -08:00
Kirill Gostaf a2e16c2c2f Update srv_075_database.phpt 2017-01-31 16:38:45 -08:00
Kirill Gostaf 0a4c69764b Update srv_075_database_wide_string.phpt 2017-01-31 16:37:53 -08:00
Jenny Tam 1fe9c605d1 Merge pull request #256 from v-dareck/github37_has_rows
Github 37 sqlsrv_has_rows
2017-01-30 16:29:24 -08:00
v-dareck 2db27a8769 Add Description section to phpt test. 2017-01-26 12:34:32 -08:00
v-dareck ed7d6492b5 Update test comments. 2017-01-26 11:25:07 -08:00
v-dareck 911f07180f Remove comment line from test. 2017-01-26 10:55:43 -08:00
v-dareck 75aa64ec18 Issue 37. sqlsrv_has_rows does not fetch if already true.
Change sqlsrv_has_rows to not scroll if already true
when using forward only cursor.
2017-01-25 13:55:55 -08:00
v-dareck 69a744d808 Issue 228. Don't allow 0 for sqlsrv ClientBufferMaxKBSize.
Add new tests for sqlsrv and pdo.
2017-01-25 13:37:48 -08:00
v-dareck 9f74ef7326 Initial AppVeyor CI test build. 2017-01-10 13:59:16 -08:00