• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CURRENT_TIMESTAMP: different mysql-behavior phpmyadmin vs. CI

#3
(11-29-2018, 06:09 AM)Pertti Wrote: If you are keeping your queries, you can do
PHP Code:
echo $this->db->last_query(); 

That should give you exact SQL query CI was trying to execute.

That gives:

Code:
UPDATE test SET modified2 = modified, modified = NOW() WHERE id = 1

as well. Unfortunately no new insight. Thank you for the hint.

Best
Reply


Messages In This Thread
RE: CURRENT_TIMESTAMP: different mysql-behavior phpmyadmin vs. CI - by kbs170 - 11-29-2018, 06:22 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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