add column unique numbering scheme, more efficient selects
This commit is contained in:
@@ -99,20 +99,7 @@ class CStructArrayExporter extends BaseExporter
|
||||
echo ",";
|
||||
}
|
||||
|
||||
$val = 0;
|
||||
switch ($field->type) {
|
||||
case 'string':
|
||||
$val = "";
|
||||
break;
|
||||
|
||||
case 'bool':
|
||||
$val = false;
|
||||
break;
|
||||
}
|
||||
|
||||
if (isset($row->{$field->name})) {
|
||||
$val = $row->{$field->name};
|
||||
}
|
||||
$val = $row[$field->name];
|
||||
|
||||
// export to C format
|
||||
switch ($field->type) {
|
||||
|
||||
Reference in New Issue
Block a user