Show
Ignore:
Timestamp:
04/28/2008 02:49:49 PM (7 months ago)
Author:
Shadowhand
Message:

Adding NULL status to Database::list_fields() output

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/drivers/Database/Mysql.php

    r2577 r2591  
    291291                                        $tables[$table][$row->Field]['sequenced'] = TRUE; 
    292292                                } 
     293 
     294                                if ($row->Null === 'YES') 
     295                                { 
     296                                        // Set NULL status 
     297                                        $tables[$table][$row->Field]['null'] = TRUE; 
     298                                } 
    293299                        } 
    294300                }