Fix: Traces migrations
This commit is contained in:
parent
843bb03231
commit
0af659e4e7
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -161,8 +161,10 @@ if (isset($_GET["action"]) && $_GET["action"] == "upgrade")
|
|||||||
{
|
{
|
||||||
if ($sql)
|
if ($sql)
|
||||||
{
|
{
|
||||||
// print '<tr><td>'.$langs->trans("Request").' '.$i.'</td>';
|
// Ajout trace sur requete (eventuellement à commenter
|
||||||
print("Execution de requete=".($i+1)." sql='".$sql."'<br>\n");
|
// si beaucoup de requetes)
|
||||||
|
print('<tr><td valign="top">'.$langs->trans("Request").' '.($i+1)." sql='".$sql."'</td></tr>\n");
|
||||||
|
|
||||||
if ($db->query($sql))
|
if ($db->query($sql))
|
||||||
{
|
{
|
||||||
// print '<td align="right">OK</td>';
|
// print '<td align="right">OK</td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user