Skip to content

Commit

Permalink
Update pdo_util.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
yukiwongky authored Mar 28, 2017
1 parent ccd80a3 commit 8fa1729
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/pdo_sqlsrv/pdo_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,8 @@ void pdo_sqlsrv_log( unsigned int severity TSRMLS_DC, const char* msg, va_list*

namespace {

// Workaround for name collision problem between the SQLSRV and PDO_SQLSRV drivers on Mac
// Place get_error_message into the anonymous namespace in pdo_util.cpp
sqlsrv_error_const* get_error_message(unsigned int sqlsrv_error_code) {

sqlsrv_error_const *error_message = NULL;
Expand Down

0 comments on commit 8fa1729

Please sign in to comment.