about PMA_setHistory()

View: New views
1 Messages — Rating Filter:   Alert me  

about PMA_setHistory()

by Marc Delisle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

is it intended behavior that, when I insert via the interface, the
statement is saved into history, but when I update it is not?

This happens because in libraries/footer.inc.php, after an insert,
$GLOBALS['sql_query'] contains the INSERT statement but after an update,
it usually contains a SELECT that fetches the current result set.

Marc

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel@...
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
LightInTheBox - Buy quality products at wholesale price