Commit graph

2339 commits

Author SHA1 Message Date
v-kaywon 8fa17294ec Update pdo_util.cpp 2017-03-28 09:36:36 -07:00
v-kaywon 7c4efbcad8 Update core_sqlsrv.h 2017-03-28 09:29:57 -07:00
marioperezesteso c47bf8fa98 Fix typos in README.md 2017-03-28 07:49:28 +00:00
ulvii c870f0803b Remove buggy lines
Removed $file.out. In case of failing tests, this would become failing_test.diff.out
2017-03-27 18:44:57 -07:00
ulvii 234b123fd7 Update sqlsrv_statement_cancel.phpt 2017-03-27 18:42:58 -07:00
ulvii 96237e1dcd Update .travis.yml 2017-03-27 18:33:46 -07:00
ulvii 872584a512 Update .travis.yml 2017-03-27 18:21:48 -07:00
ulvii 3d48ce5a7b Update .travis.yml 2017-03-27 18:12:34 -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 e6d55ad632 Update .travis.yml 2017-03-27 17:41:02 -07:00
ulvii 3d7a472626 Print diff file contents
Adding script to print out diff file contents, if there are failing tests
2017-03-27 17:26:59 -07:00
ulvii d0aed143dc Clear Cache before next results set
We need to clear cache if a statement has multiple rowsets.
2017-03-27 15:24:41 -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
ulvii 6bd361c1ef Update Ubuntu 16 Apache Configuration (#342)
* Order change

Changing order of steps, to install the drivers before installing apache

* Apache php.ini for ubuntu 16

On Ubuntu 16, drivers should be added to apache php.ini file too
2017-03-27 14:02:36 -07:00
ulvii b883ee47e4 Update core_stmt.cpp 2017-03-27 12:58:42 -07:00
ulvii 80b510ef2f removing tabs 2017-03-27 12:57:18 -07:00
ulvii f835c34319 Update core_stmt.cpp 2017-03-24 17:12:10 -07:00
ulvii 48e9914986 Update spaces 2017-03-24 17:03:24 -07:00
ulvii 4339bad694 Update identation 2017-03-24 16:01:45 -07:00
ulvii 27bae233c0 Update identation 2017-03-24 15:53:41 -07:00
ulvii 5e42b191ea Implementing new cache to remove unnecessary ODBC calls 2017-03-24 15:46:53 -07:00
v-kaywon bd8d1e1bf4 Merge pull request #337 from v-kaywon/string_warning
convert const char[] to char[] to avoid conversion warnings
2017-03-23 12:30:30 -07:00
v-kaywon 9f3c0cee54 Update init.cpp 2017-03-23 11:55:33 -07:00
v-kaywon 566a2dafb0 Merge pull request #333 from v-kaywon/numrow_null_result
fix crash from getting the numrow of a null buffered result set
2017-03-23 11:46:57 -07:00
v-kaywon b4f7684db3 Update init.cpp
fix indentation
2017-03-23 10:57:35 -07:00
v-kaywon d68300ff53 Update core_results.cpp 2017-03-23 10:52:02 -07:00
v-kaywon 6b2aa39e19 convert const char[] to char[] to avoid conversion warnings 2017-03-23 10:21:48 -07:00
v-kaywon ccd80a32d9 Update util.cpp 2017-03-21 17:00:13 -07:00
v-kaywon 06a343f611 rename stmt_option_scrollable to driver specific names and put get_error_message into namespace 2017-03-21 15:28:13 -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 7434d06507 Fixed headers 2017-03-20 13:51:54 -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 3dc98175a0 Merge pull request #328 from v-kaywon/fixTest
fix pdo_stored_proc_fetch_datatypes.phpt
2017-03-16 11:46:27 -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
Hadis Kakanejadi Fard 531b574f35 Updated master branch with 4.1.7-preview release (#325)
* fixed Github #182, empty bound output parameters

* Fixing the issue with buffered result sets, when connection option is set to utf8. See issue #192

* removing new lines

* Replcaing SQLSRV_ENCODING ( CP_UTF8) with SQLSRV_ENCODING_UTF8

* Replcaing SQLSRV_ENCODING ( CP_UTF8) with SQLSRV_ENCODING_UTF8

* fixed tab and spacing

* updated the code structure

* deleted pdo_sqlsrv obsolete folder

* Updated pdo driver source code path

* added pdo shared folder

* updated sqlsrv and pdo_sqlsrv config.w32 to get the dir name dynamically

* deleted shared folder inside pdo

* Initial AppVeyor CI test build.

* Remove AppVeyor whitelist for testing.

* Fix source file path.

* Update pdo_util.cpp

* changed tab to spaces

* fixed indentations

* fixed indentations

* moved templates to driver folder

* Enable build matrix for different SQL Server versions.

* fixed the limit for row count

* fix #173, #138 on Windows code

* fixed indentations

* revert core_results to 365220a

* Readme and Change updates for Windows release.

* Fix table rendering.

* Readme and Change updates for Windows release.

* Update change log.

* Readme and Change updates for Windows release.

* Remove Linux section.

* merged Linux to CPP files

* merged Linux to php_sqlsrv.h

* Merged Linux and Windows PDO_SQLSRV code

* merged core_conn from linux to Windows

* modified based on reviews

* updated to version 4.1.5

* fixed indentations

* updated the date to Jan 19

* updated core_init

* Small ifdef fix

* Spacing fixes

* Commented code removed

* fixed preprocessor directives

* merged core_stmt from Linux

* merged conversion functions in core_sqlsrv and core_util

* config.m4

* Capitalised win32

* Commented code removed

* merged core_sqlsrv.h

* merged core_stream

* merged core_results

* added Linux specific files

* added Linux specific files

* removed windows header

* removed header files included in core_sqlv from xplat

* Issue 228. Don't allow 0 for sqlsrv ClientBufferMaxKBSize.

Add new tests for sqlsrv and pdo.

* 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.

* gaurded strsafe header

* Update pdo_dbh.cpp

* Update pdo_stmt.cpp

* Update pdo_init.cpp

* Update pdo_parser.cpp

* Remove comment line from test.

* Update test comments.

* Add Description section to phpt test.

* fixed included headers order

* fixed indentations and spacing

* fixed indentations on core_results

* fixed indentations on rowCount

* fixed indentations in updated code

* fixed indentations

* fixed indentations

* bumped version to windows version

* made the ifdef consitent

* fixed L166 indentations

* bumped version to 4.1

* bumped up the version to 4.1

* bumped up the version to 4.1

* updated to version 4.1

* updated version to 4.1

* Added config.m4

* Added build directory

* fixed closing } dropped indentations

* fixed core_conn

* renamed header files with the same name as windows headers

* renamed <intsafe> in xplat.h to xplat_intsafe

* safeguard get_col_meta

* edited included headers

* fixed invalid user pass issue in core_conn

* added TravisCI to merged-code branch

* updated renamed header

* removed comments

* updated travis docker with latest from linux branch

* applied peer review comments

* added packagize.sh

* fixed get_processor_arch comparisons

* removed unused sqlsrv_zend_hash_add

* Update srv_075_database_wide_string.phpt

* Update srv_075_database.phpt

* Update srv_074_database.phpt

* Update srv_074_database_wide_string.phpt

* Update srv_073_database.phpt

* Merge remaining PHP-7.0-Linux changes into merged codebase.

* Change $sample calculation to avoid conversion to float.

* Change FORMAT SQL to CAST as SQL 2008 does not support FORMAT.

* modified ifdef __linux__

* Update srv_037_transaction_rollback.phpt

* Tab/indentation fixes.

* replace __linux__ with _WIN32 define.

* Update Readme and Changelog for merged code.

* Add re2c and gcc to readme steps.

* Update version.h

* removed inconsistent code calling convert_string_from_utf16

* corrected comment

* Change branch links to dev in README

* Test: Bind values with PDO::PARAM_BOOL

* Update pdo_023.phpt

* Update README.md

Add unixODBC 2.3.1 limitation for connection pooling with PDO.

* define SQL_GUID for PECL

* check if constant defined first

* In closeCursor check if statement has been executed before moving to next result.

* Change tab to spaces.

* Fix for issue 223

* added a test

* Modified the test 

to make it more robust

* Fix error message in close cursor. Change prepare to query in test.

* Fix and tests for issue #69

* fix formatting

* Fix issue #35

* add a simple test case with an input file

* simplified the test without image input

* Fix clang compile errors.

* Update README.md

* Add check for SQL_NO_TOTAL for SQLBindParameter out parameter.

* Update PHPT comment.

* Update PHPT comment and script.

* calculate field size instead of using column size and fixed the parameter encoding

* Remove uchar.h usage from buffered results.

* fix PHP7.1 debug abort error

* Add buffered sqlsrv test.

* use static cast for SQLSRV_ENCODING

* Update phpt comment.

* fixed issue #270

* test fetch binary

* added autonomous setup to test

* caps description

* Modify string_to_number utf8 conversion.

* Added survey

* fixed indentation and typo

* fixed indentations

* Changed db to tempdb and random table name

* fixed string quotes and free stmt

* fixed comment

* Change errno check to ERROR_SUCCESS

* Fix baseline for #297 changes.

* batch 1

* batch 2

* Fix memory leaks in buffered resultsets.

* batch 3

* modified tests based on review

* Added SELinux note for RedHat

* Issue #308

* Fix spacing

* Use a simpler way

* String release first

* String release first

* Modified based on review

* Modified note

* added a sqlsrv test, a variant

* Update srv_308_empty_output_param.phpt

* Update README.md

* appveyor.yml now outputs details of failing tests

* updated versioning to semantic versioning #282

* Update README.md

* changed locale for mac

* added client info tests

* added versioning notes

* updated precedence order example

* added 4.1.7 to changedlog

* updated PECL package version

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* part 1 with utf8 data

* MAC OS X announcement

* part 2 testing diff API

* part 3 testing rowCount

* part 4 fetching various types

* part 5 new sqlsrv tests

* removed redundant tests

* fixed some tests

* modified a failing test

* one more test

* Mac instructions (#319)

* Initial Mac instructions

* Add pecl install for mac

* Changing instructions for loading the drivers

* Updating apache install intructions for MAC

* Adding Mac related notes

* Minor cleanup

* appveyor.yml now outputs details of failing tests

* updated versioning to semantic versioning #282

* Update README.md

* changed locale for mac

* added client info tests

* added versioning notes

* updated precedence order example

* added 4.1.7 to changedlog

* updated PECL package version

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* MAC OS X announcement

* Updating Mac Apache Instructions. Also removing the step of manually adding drivers to the ini file.

* Adding php7.1-xml installation

* Apache config for Mac

* Fixing Apache config

* Update PECL instructions

* Fixed headers formatting
2017-03-14 13:04:23 -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
ulvii 9bd42e4060 Mac instructions (#319)
* Initial Mac instructions

* Add pecl install for mac

* Changing instructions for loading the drivers

* Updating apache install intructions for MAC

* Adding Mac related notes

* Minor cleanup

* appveyor.yml now outputs details of failing tests

* updated versioning to semantic versioning #282

* Update README.md

* changed locale for mac

* added client info tests

* added versioning notes

* updated precedence order example

* added 4.1.7 to changedlog

* updated PECL package version

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* MAC OS X announcement

* Updating Mac Apache Instructions. Also removing the step of manually adding drivers to the ini file.

* Adding php7.1-xml installation

* Apache config for Mac

* Fixing Apache config

* Update PECL instructions
2017-03-10 13:59:43 -08:00
v-kaywon a76e14efa2 Merge pull request #322 from yitam/addNewTests
one more test
2017-03-09 15:19:22 -08:00
yitam 5795e0eceb one more test 2017-03-09 14:12:53 -08:00
v-kaywon 5ccbda81e1 Merge pull request #320 from yitam/addNewTests
Uploaded some more tests
2017-03-09 11:55:11 -08:00