data only dump

This commit is contained in:
Marc Delisle
2001-06-07 18:05:59 +00:00
parent 563da00428
commit b736e4df76
25 changed files with 42 additions and 2 deletions

View File

@@ -75,14 +75,18 @@ if($what != "csv")
if(!empty($cfgServer['port']))
print ":" . $cfgServer['port'];
print " $strDatabase: $db$crlf";
if($what != "dataonly")
{
print "# --------------------------------------------------------$crlf";
print "$crlf#$crlf";
print "# $strTableStructure '$table'$crlf";
print "#$crlf$crlf";
print get_table_def($db, $table, $crlf).";$crlf";
}
if($what == "data")
if(($what == "data") || ($what == "dataonly"))
{
print "$crlf#$crlf";
print "# $strDumpingData '$table'$crlf";