sql_repair

The sql_repair() function is used to repair a damaged SQL table. It is called by SPIP when an administrator attempts to repair a database using the ecrire/?exec=admin_tech page.

It accepts 3 parameters:

  1. $table is the table which is requested to be repaired,
  2. $serveur,
  3. $option.

Usage:

sql_repair('table');

Note: PostGres and SQLite database managers ignore this instruction.

Author Mark Baber Published : Updated : 01/06/10

Translations : English, français