Fixed bug - using field_data() on Oracle databases
Fixed bug - using field_data() on Oracle databases

When you're using oracle databases and want to retrieve column information through the function field_data($table) you get the following notice: 

- Notice: Undefined property: stdClass::$COLUMN_DEFAULT in system/database/drivers/oci8/oci8_driver.php on line 576;

This happens because the oci8 driver tries to access a property that does not exist on query used to get field information. Checking the code we see a small validation to set default value, but the variable $default is not used. So we fix this bug by simply changing:

$retval[$i]->default = $query[$i]->COLUMN_DEFAULT;
to 
$retval[$i]->default = $default;

Bug fixed. No more notices and the properly value is set.
cmayo/CodeIgniter,DiederikLascaris/CodeIgniter,DiederikLascaris/CodeIgniter,Gektorian/CodeIgniter,benms/CodeIgniter,SmileDrug/CodeIgniter,neomadara/CodeIgniter,madwings/InsaneDB,ytetsuro/CodeIgniter,KIGOTHO/CodeIgniter,leandrowkz/CodeIgniter,jim-parry/CodeIgniter,rafelsanso/kitmaker-project,vrkansagara/CodeIgniter,Bluewind/filebin,b1tc0re/CodeIgniter,irfanevrens/CodeIgniter,tianhe1986/CodeIgniter,taro-asahi/CodeIgniter,ivantcholakov/CodeIgniter,serpes/CodeIgniter,invitecomm/CodeIgniter,poing/CodeIgniter,mfaraz/CodeIgniter,rajrathore/CodeIgniter,yonineitor/CodeIgniter,natepizzle/nah-codeigniter,mfaraz/CodeIgniter,gt945/CodeIgniter,CodeIgniter-Chinese/CodeIgniter,kenjis/CodeIgniter,netsan/CodeIgniter-Research,Cediwallet/code,Husseinat/engsoft,pravinhirmukhe/CodeIgniter,natepizzle/nah-codeigniter,sebastienadam/CodeIgniter,jiaojie1989/CodeIgniter,sampoyigi/CodeIgniter,andersonunsonst/CodeIgniter,cgvarela/CodeIgniter,Brother-Simon/CodeIgniter,shanavas786/CodeIgniter,kala725/CodeIgniter-with-React,ytetsuro/CodeIgniter,KeiroD/CodeIgniter,saisai/CodeIgniter,serpes/CodeIgniter,MonCoder/CodeIgniter,ndigitals/CodeIgniter,openset/ci,Sevdr/CodeIgniter,souparno/CodeIgniter,dotancohen/CodeIgniter,rajrathore/CodeIgniter,TimHuangcheng/CodeIgniter,n054/CodeIgniter,asmdigital/CodeIgniter,usbader/QuizApp,zhangzhengyu/CodeIgniter,gopalindians/CodeIgniter,Avantians/CodeIgniter,nonconforme/CodeIgniter,shanavas786/CodeIgniter,skullJ/CodeIgniter,jellycheng/CodeIgniter,tschmidiger/CodeIgniter,serkanerdinc/cms,chadzilla2080/CodeIgniter,WSDC-NITWarangal/CodeIgniter,zhaoyan158567/CodeIgniter,rajrathore/CodeIgniter,invitecomm/CodeIgniter,ndigitals/CodeIgniter,bcit-ci/CodeIgniter,codergma/CodeIgniter,netsan/CodeIgniter-Research,zoaked/CodeIgniter,ganiutomo/CodeIgniter,rootcss/CodeIgniter,HindrikDeelstra/codeigniter-snackapp,zhanghongyi/CodeIgniter,fireflex/parking,shrimpma/CodeIgniter,kobeuu/CodeIgniter,MonCoder/CodeIgniter,ipabz/CodeIgniter,ajose1024/Code_Igniter_Extended,saisai/CodeIgniter,runphp/CodeIgniter,nishatbaig/CodeIgniter,darrelljefferson/viper,dcarbone/CodeIgniter,Calico90/CodeIgniter,tschmidiger/CodeIgniter,dhayalram123/CodeIgniter,mfaraz/CodeIgniter,tschmidiger/CodeIgniter,eddomirsyad/CodeIgniter,AndreiMariusSili/Enactus,gt945/CodeIgniter,KmServer/CodeIgniter,it-can/CodeIgniter,andersonunsonst/CodeIgniter,dkarvounaris/CodeIgniter,JungMinu/CodeIgniter,zhangbo127/CodeIgniter,ftwbzhao/CodeIgniter,ndigitals/CodeIgniter,andreaslangsays/CodeIgniter,fireflex/parking,kigsmtua/CodeIgniter,megaspy/rental,joariasl/CodeIgniter,kamaslau/BasicCodeIgniter,rochefort/CodeIgniter,zcodes/CodeIgniter,taro-asahi/CodeIgniter,dotancohen/CodeIgniter,fengss/CodeIgniter,lucasfong/CodeIgniter,roastduck/CodeIgniter,asp7bit/trackindo,sampoyigi/CodeIgniter,antoniors/CodeIgniter,puhua/CodeIgniter,Sevdr/CodeIgniter,zhangbo127/CodeIgniter,DavidOtis/CodeIgniter,gastongr/CodeIgniter,tschmidiger/CodeIgniter,whilewon/CodeIgniter,DavidOtis/CodeIgniter,tangposmarvin/CodeIgniter,stevebritton/CodeIgniter,RobbertdeJel/CodeIgniter,invitecomm/CodeIgniter,alex1442/CodeIgniter,madnik/CodeIgniter,andersonunsonst/CodeIgniter,benms/CodeIgniter,zoaked/CodeIgniter,jim-parry/CodeIgniter,JungMinu/CodeIgniter,weslenam/kymera,freeztime/CodeIgniter,jim-parry/CodeIgniter,eddomirsyad/CodeIgniter,Oiro/CodeIgniter,DavidOtis/CodeIgniter,zhaoyan158567/CodeIgniter,msnonari/CodeIgniter,avenirer/CodeIgniter,neomadara/CodeIgniter,butane/CodeIgniter,aquarion/CodeIgniter,demenvil/CodeIgniter,sebastienadam/CodeIgniter,marimarluna/CodeIgniter-develop,irfanevrens/CodeIgniter,iLotus/CodeIgniter,aquasky111/CodeIgniter,nandadotexe/CodeIgniter,nishatbaig/CodeIgniter,HindrikDeelstra/codeigniter-snackapp,alex1442/CodeIgniter,cgvarela/CodeIgniter,Bluewind/filebin,butane/CodeIgniter,Bluewind/filebin,poing/CodeIgniter,liuxulei/CodeIgniter,doniisetiiawan/CodeIgniter,feryardiant/codeigniter,Gektorian/CodeIgniter,fengss/CodeIgniter,kamaslau/BasicCodeIgniter,titounnes/CI_BaseConfig,runphp/CodeIgniter,Brother-Simon/CodeIgniter,rochefort/CodeIgniter,ganiutomo/CodeIgniter,msnonari/CodeIgniter,aryan-2016/CodeIgniter,jiachenning/CodeIgniter,pravinhirmukhe/CodeIgniter,titounnes/CI_BaseConfig,ster/CodeIgniter,globlob/CodeIgniter,rafelsanso/kitmaker-project,ftwbzhao/CodeIgniter,netsan/CodeIgniter-Research,ET-NiK/CodeIgniter,madwings/InsaneDB,AndreiMariusSili/Enactus,demenvil/CodeIgniter,nonconforme/CodeIgniter,aperera/CodeIgniter,KmServer/CodeIgniter,souparno/CodeIgniter,neomadara/CodeIgniter,asaharan/skillscroll,daoyuly/CodeIgniter,ipabz/CodeIgniter,ftwbzhao/CodeIgniter,moon-siama/codeigniter,freeztime/CodeIgniter,vlakoff/CodeIgniter,darrelljefferson/viper,doniisetiiawan/CodeIgniter,namnv609/CodeIgniter,dhayalram123/CodeIgniter,gopalindians/CodeIgniter,asmdigital/CodeIgniter,kala725/CodeIgniter-with-React,whilewon/CodeIgniter,jiaojie1989/CodeIgniter,demenvil/CodeIgniter,pravinhirmukhe/CodeIgniter,DiZyStudio/ci,ganiutomo/CodeIgniter,aquasky111/CodeIgniter,joariasl/CodeIgniter,nadeemehsan9/CodeIgniter,ganiutomo/CodeIgniter,whilewon/CodeIgniter,namnv609/CodeIgniter,yonineitor/CodeIgniter,Calico90/CodeIgniter,fjsevillamora/CodeIgniter,galdiolo/CodeIgniter,AndreiMariusSili/Enactus,asp7bit/trackindo,Cediwallet/code,jiaojie1989/CodeIgniter,serpes/CodeIgniter,nandadotexe/CodeIgniter,rootcss/CodeIgniter,HindrikDeelstra/codeigniter-snackapp,liuxulei/CodeIgniter,zcodes/CodeIgniter,sebastienadam/CodeIgniter,puhua/CodeIgniter,dinhmv/demo,chinatown34/ci_bind_wrap,puhua/CodeIgniter,TimHuangcheng/CodeIgniter,kukuhsetiawan/CodeIgniter,usbader/QuizApp,Sevdr/CodeIgniter,Gektorian/CodeIgniter,kamaslau/BasicCodeIgniter,b1tc0re/CodeIgniter,ET-NiK/CodeIgniter,dhayalram123/CodeIgniter,Oiro/CodeIgniter,whilewon/CodeIgniter,it-can/CodeIgniter,zares85/mvf,taro-asahi/CodeIgniter,avenirer/CodeIgniter,dinhmv/demo,titounnes/CI_BaseConfig,eddomirsyad/CodeIgniter,kuaimainc/Kuaima-CodeIgniter,titounnes/CodeIgniter,jiachenning/CodeIgniter,ytetsuro/CodeIgniter,invitecomm/CodeIgniter,trinet-at/CodeIgniter,gastongr/CodeIgniter,jim-parry/CodeIgniter,butane/CodeIgniter,zhanghongyi/CodeIgniter,faozimipa/CodeIgniter,tianhe1986/CodeIgniter,saisai/CodeIgniter,Tpojka/CodeIgniter,pkuclay/CodeIgniter,ster/CodeIgniter,pkuclay/CodeIgniter,FacundoGFlores/CodeIgniter,dhayalram123/CodeIgniter,madwings/InsaneDB,serkanerdinc/cms,ET-NiK/CodeIgniter,dkarvounaris/CodeIgniter,dcarbone/CodeIgniter,fengss/CodeIgniter,mewt/CodeIgniter,gopalindians/CodeIgniter,kuaimainc/Kuaima-CodeIgniter,asmdigital/CodeIgniter,zhangzhengyu/CodeIgniter,joariasl/CodeIgniter,liuxulei/CodeIgniter,zhangzhengyu/CodeIgniter,madnik/CodeIgniter,msnonari/CodeIgniter,openset/ci,zhaoyan158567/CodeIgniter,leandrowkz/CodeIgniter,joel-medeiros/CodeIgniter,kobeuu/CodeIgniter,dimaspermadiyp/CodeIgniter,Gektorian/CodeIgniter,b1tc0re/CodeIgniter,doniisetiiawan/CodeIgniter,kala725/CodeIgniter-with-React,chinatown34/ci_bind_wrap,rootcss/CodeIgniter,shanavas786/CodeIgniter,acepsaepudin/traffic-infrastructure-app,stevebritton/CodeIgniter,cmayo/CodeIgniter,faozimipa/CodeIgniter,lonnieezell/CodeIgniter,invitecomm/CodeIgniter,tianhe1986/CodeIgniter,vrkansagara/CodeIgniter,MonCoder/CodeIgniter,bcit-ci/CodeIgniter,taro-asahi/CodeIgniter,dkarvounaris/CodeIgniter,usbader/QuizApp,juanjosemiranda/primer,dcarbone/CodeIgniter,butane/CodeIgniter,pravinhirmukhe/CodeIgniter,asmdigital/CodeIgniter,tschmidiger/CodeIgniter,natepizzle/nah-codeigniter,juanjosemiranda/primer,pkdevbox/CodeIgniter,kigsmtua/CodeIgniter,cmayo/CodeIgniter,andreaslangsays/CodeIgniter,ster/CodeIgniter,andreaslangsays/CodeIgniter,nonconforme/CodeIgniter,ster/CodeIgniter,ShrmnK/CodeIgniter,lonnieezell/CodeIgniter,fjsevillamora/CodeIgniter,nishatbaig/CodeIgniter,ipabz/CodeIgniter,Sproypef/CodeIgniter_AdminLTE2_Blade,skullJ/CodeIgniter,butane/CodeIgniter,KIGOTHO/CodeIgniter,ivantcholakov/CodeIgniter,galdiolo/CodeIgniter,madwings/InsaneDB,HindrikDeelstra/codeigniter-snackapp,ivantcholakov/CodeIgniter,globlob/CodeIgniter,DiederikLascaris/CodeIgniter,ftwbzhao/CodeIgniter,rootcss/CodeIgniter,namnv609/CodeIgniter,chadzilla2080/CodeIgniter,serkanerdinc/cms,weslenam/kymera,asmdigital/CodeIgniter,Cediwallet/code,poing/CodeIgniter,pkdevbox/CodeIgniter,DiZyStudio/ci,pkuclay/CodeIgniter,it-can/CodeIgniter,LamarKing/CodeIgniter,marimarluna/CodeIgniter-develop,r-cis/CodeIgniter,mewt/CodeIgniter,vlakoff/CodeIgniter,DavidOtis/CodeIgniter,marimarluna/CodeIgniter-develop,ShrmnK/CodeIgniter,fengss/CodeIgniter,kobeuu/CodeIgniter,pkuclay/CodeIgniter,eksyam/CodeIgniter,freeztime/CodeIgniter,zhangzhengyu/CodeIgniter,kuaimainc/Kuaima-CodeIgniter,CodeIgniter-Chinese/CodeIgniter,poing/CodeIgniter,ipabz/CodeIgniter,gastongr/CodeIgniter,n054/CodeIgniter,vrkansagara/CodeIgniter,zcodes/CodeIgniter,fjsevillamora/CodeIgniter,chadzilla2080/CodeIgniter,weslenam/kymera,Avantians/CodeIgniter,nadeemehsan9/CodeIgniter,dotancohen/CodeIgniter,faozimipa/CodeIgniter,TimHuangcheng/CodeIgniter,madnik/CodeIgniter,nadeemehsan9/CodeIgniter,kukuhsetiawan/CodeIgniter,DiederikLascaris/CodeIgniter,ytetsuro/CodeIgniter,mfaraz/CodeIgniter,LamarKing/CodeIgniter,faregon/CodeIgniter,n054/CodeIgniter,madnik/CodeIgniter,vlakoff/CodeIgniter,leandrowkz/CodeIgniter,mewt/CodeIgniter,roastduck/CodeIgniter,poing/CodeIgniter,galdiolo/CodeIgniter,DiZyStudio/ci,nandadotexe/CodeIgniter,zhangbo127/CodeIgniter,LamarKing/CodeIgniter,Oiro/CodeIgniter,zoaked/CodeIgniter,vrkansagara/CodeIgniter,dinhmv/demo,ajose1024/Code_Igniter_Extended,sampoyigi/CodeIgniter,KeiroD/CodeIgniter,acepsaepudin/traffic-infrastructure-app,pkdevbox/CodeIgniter,shrimpma/CodeIgniter,daoyuly/CodeIgniter,r-cis/CodeIgniter,smallp/CodeIgniter,pkdevbox/CodeIgniter,trinet-at/CodeIgniter,runphp/CodeIgniter,jellycheng/CodeIgniter,aperera/CodeIgniter,LamarKing/CodeIgniter,chinatown34/ci_bind_wrap,tangposmarvin/CodeIgniter,acepsaepudin/traffic-infrastructure-app,jiachenning/CodeIgniter,kenjis/CodeIgniter,globlob/CodeIgniter,joel-medeiros/CodeIgniter,tianhe1986/CodeIgniter,jellycheng/CodeIgniter,aryan-2016/CodeIgniter,dinhmv/demo,r-cis/CodeIgniter,CodeIgniter-Chinese/CodeIgniter,Brother-Simon/CodeIgniter,kukuhsetiawan/CodeIgniter,rajrathore/CodeIgniter,kuaimainc/Kuaima-CodeIgniter,AndreiMariusSili/EnactusMVC,asaharan/skillscroll,codergma/CodeIgniter,skullJ/CodeIgniter,leandrowkz/CodeIgniter,megaspy/rental,ganiutomo/CodeIgniter,MjAbuz/CodeIgniter,marimarluna/CodeIgniter-develop,mewt/CodeIgniter,KeiroD/CodeIgniter,trinet-at/CodeIgniter,shanavas786/CodeIgniter,cgvarela/CodeIgniter,RobbertdeJel/CodeIgniter,irfanevrens/CodeIgniter,darrelljefferson/viper,jiaojie1989/CodeIgniter,souparno/CodeIgniter,tangposmarvin/CodeIgniter,b1tc0re/CodeIgniter,joariasl/CodeIgniter,MjAbuz/CodeIgniter,dotancohen/CodeIgniter,Neoskate/CodeIgniter,alex1442/CodeIgniter,iLotus/CodeIgniter,iLotus/CodeIgniter,codergma/CodeIgniter,WSDC-NITWarangal/CodeIgniter,nonconforme/CodeIgniter,zares85/mvf,kigsmtua/CodeIgniter,bcit-ci/CodeIgniter,dimaspermadiyp/CodeIgniter,fireflex/parking,gastongr/CodeIgniter,eksyam/CodeIgniter,globlob/CodeIgniter,MjAbuz/CodeIgniter,SmileDrug/CodeIgniter,natepizzle/nah-codeigniter,feryardiant/codeigniter,Calico90/CodeIgniter,antoniors/CodeIgniter,ytetsuro/CodeIgniter,andreaslangsays/CodeIgniter,saisai/CodeIgniter,titounnes/CodeIgniter,doniisetiiawan/CodeIgniter,kala725/CodeIgniter-with-React,tschmidiger/CodeIgniter,weslenam/kymera,lucasfong/CodeIgniter,megaspy/rental,cgvarela/CodeIgniter,dimaspermadiyp/CodeIgniter,Husseinat/engsoft,ivantcholakov/CodeIgniter,lucasfong/CodeIgniter,faozimipa/CodeIgniter,runphp/CodeIgniter,bcit-ci/CodeIgniter,rafelsanso/kitmaker-project,SmileDrug/CodeIgniter,titounnes/CI_BaseConfig,MjAbuz/CodeIgniter,Bluewind/filebin,irfanevrens/CodeIgniter,Neoskate/CodeIgniter,tieutumathi/CodeIgniterM,ShrmnK/CodeIgniter,Tpojka/CodeIgniter,sebastienadam/CodeIgniter,Tpojka/CodeIgniter,titounnes/CodeIgniter,avenirer/CodeIgniter,chinatown34/ci_bind_wrap,dimaspermadiyp/CodeIgniter,it-can/CodeIgniter,ster/CodeIgniter,kenjis/CodeIgniter,marimarluna/CodeIgniter-develop,Cediwallet/code,titounnes/CodeIgniter,darrelljefferson/viper,aryan-2016/CodeIgniter,zhanghongyi/CodeIgniter,Husseinat/engsoft,aperera/CodeIgniter,Calico90/CodeIgniter,kamaslau/BasicCodeIgniter,jiachenning/CodeIgniter,kobeuu/CodeIgniter,trinet-at/CodeIgniter,roastduck/CodeIgniter,asp7bit/trackindo,puhua/CodeIgniter,weslenam/kymera,acepsaepudin/traffic-infrastructure-app,Sevdr/CodeIgniter,Calico90/CodeIgniter,KIGOTHO/CodeIgniter,ajose1024/Code_Igniter_Extended,JungMinu/CodeIgniter,nishatbaig/CodeIgniter,feryardiant/codeigniter,avenirer/CodeIgniter,andersonunsonst/CodeIgniter,souparno/CodeIgniter,serpes/CodeIgniter,bcit-ci/CodeIgniter,nandadotexe/CodeIgniter,demenvil/CodeIgniter,antoniors/CodeIgniter,yonineitor/CodeIgniter,madwings/InsaneDB,WSDC-NITWarangal/CodeIgniter,FacundoGFlores/CodeIgniter,tangposmarvin/CodeIgniter,liuxulei/CodeIgniter,fireflex/parking,aquarion/CodeIgniter,jim-parry/CodeIgniter,lonnieezell/CodeIgniter,msnonari/CodeIgniter,ET-NiK/CodeIgniter,eddomirsyad/CodeIgniter,gastongr/CodeIgniter,SmileDrug/CodeIgniter,megaspy/rental,KmServer/CodeIgniter,RobbertdeJel/CodeIgniter,kigsmtua/CodeIgniter,KeiroD/CodeIgniter,aperera/CodeIgniter,titounnes/CI_BaseConfig,Oiro/CodeIgniter,b1tc0re/CodeIgniter,fjsevillamora/CodeIgniter,kenjis/CodeIgniter,Avantians/CodeIgniter,asp7bit/trackindo,daoyuly/CodeIgniter,kala725/CodeIgniter-with-React,RobbertdeJel/CodeIgniter,aquasky111/CodeIgniter,zhaoyan158567/CodeIgniter,AndreiMariusSili/EnactusMVC,AndreiMariusSili/EnactusMVC,gopalindians/CodeIgniter,KmServer/CodeIgniter,FacundoGFlores/CodeIgniter,eksyam/CodeIgniter,TimHuangcheng/CodeIgniter,yonineitor/CodeIgniter,roastduck/CodeIgniter,Husseinat/engsoft,Brother-Simon/CodeIgniter,it-can/CodeIgniter,WSDC-NITWarangal/CodeIgniter,Bluewind/filebin,zhanghongyi/CodeIgniter,aquarion/CodeIgniter,codergma/CodeIgniter,FacundoGFlores/CodeIgniter,joel-medeiros/CodeIgniter,Sproypef/CodeIgniter_AdminLTE2_Blade,chadzilla2080/CodeIgniter,shrimpma/CodeIgniter,benms/CodeIgniter,KIGOTHO/CodeIgniter,ajose1024/Code_Igniter_Extended,ivantcholakov/CodeIgniter,iLotus/CodeIgniter,Sproypef/CodeIgniter_AdminLTE2_Blade,madnik/CodeIgniter,shrimpma/CodeIgniter,galdiolo/CodeIgniter,Neoskate/CodeIgniter,ShrmnK/CodeIgniter,faregon/CodeIgniter,namnv609/CodeIgniter,joel-medeiros/CodeIgniter,n054/CodeIgniter,lonnieezell/CodeIgniter,faregon/CodeIgniter,eksyam/CodeIgniter,r-cis/CodeIgniter,juanjosemiranda/primer,zcodes/CodeIgniter,openset/ci,HindrikDeelstra/codeigniter-snackapp,tieutumathi/CodeIgniterM,rochefort/CodeIgniter,aquarion/CodeIgniter,cmayo/CodeIgniter,KeiroD/CodeIgniter,freeztime/CodeIgniter,Neoskate/CodeIgniter,ET-NiK/CodeIgniter,smallp/CodeIgniter,antoniors/CodeIgniter,nadeemehsan9/CodeIgniter,aryan-2016/CodeIgniter,tianhe1986/CodeIgniter,rochefort/CodeIgniter,Tpojka/CodeIgniter,n054/CodeIgniter,neomadara/CodeIgniter,Sproypef/CodeIgniter_AdminLTE2_Blade,CodeIgniter-Chinese/CodeIgniter,lucasfong/CodeIgniter,jellycheng/CodeIgniter,MonCoder/CodeIgniter,sampoyigi/CodeIgniter,Husseinat/engsoft,gt945/CodeIgniter,feryardiant/codeigniter,alex1442/CodeIgniter,ipabz/CodeIgniter,usbader/QuizApp,openset/ci,stevebritton/CodeIgniter,aquasky111/CodeIgniter,benms/CodeIgniter,Avantians/CodeIgniter,DiederikLascaris/CodeIgniter,stevebritton/CodeIgniter,rafelsanso/kitmaker-project,faregon/CodeIgniter,zhangbo127/CodeIgniter,moon-siama/codeigniter,daoyuly/CodeIgniter,asaharan/skillscroll,moon-siama/codeigniter,dkarvounaris/CodeIgniter,Tpojka/CodeIgniter,DiZyStudio/ci,ndigitals/CodeIgniter,openset/ci,dcarbone/CodeIgniter,asaharan/skillscroll,zoaked/CodeIgniter,vlakoff/CodeIgniter,juanjosemiranda/primer,kukuhsetiawan/CodeIgniter,JungMinu/CodeIgniter