Coding with SPIP 2.1
SPIP 2.1 Technical Documentation

> > > > sql_repair

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:

  1. sql_repair('table');

Note: PostGres and SQLite database managers ignore this instruction.

  • Author :
  • Published :
  • Updated : 01/06/10
  • Translations : English, français