|
|
@@ -1346,7 +1346,7 @@ class Core_Database_Mysql extends Core_Database {
|
|
|
$result_=self::query($sql_) or die1(' Problem ze sql '.$sql_);
|
|
|
while($h_=self::fetch($result_)) {
|
|
|
DEBUG_S(-3,'dane z tabeli',$h_,__FILE__,__FUNCTION__,__LINE__);
|
|
|
- $sql="\n alter ignore table `".$h[0]."_HIST` add ".$h_->Field." varchar(255) default 'N/S;' ; " ;
|
|
|
+ $sql="\n alter ignore table `".$h[0]."_HIST` add `".$h_->Field."` varchar(255) default 'N/S;' ; " ;
|
|
|
self::query($sql) or DEBUG_S(-3,' Problem ze sql '.$sql,array($sql),__FILE__,__FUNCTION__,__LINE__);
|
|
|
|
|
|
}
|