Jeroen De Dauw <jeroendedauw <at> gmail.com> writes:
>
> How can I turn of this truncating, or otherwise see the error (preferably
> w/o having to dig though some log file somewhere)? I have this already:
>
> $wgDebugDumpSql = true;
This is the one you want, but the log messages are still truncated,
unfortunately. The culprit is line 510
of includes/db/Database.php:
$sqlx = substr( $commentedSql, 0, 500 );
If you just want to hack it really quickly (as I have done in the past) just
increase that number. The
proper fix is probably to add some flag for logging the full SQL.
Owen
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l