• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI 3.1.2 + PDO stored procedures issue

#1
Hello All,
I found another big issue. I can not get result of stored procedure. When I call stored procedure I have no return any values but procedure return value. I use CI 3.1.2 PDO driver for mssql server. Does any know how to fix it?
Best regards,
Grzegorz
Reply

#2
same

Error Number: HY000/2014

Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.
CALL get_user_login_sp('xxx')
Filename: models/Login_model.php
Line Number: 54
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.