Added test case for new odbc option 'extended_errors'
Added test case for new odbc option 'extended_errors'

Test case is in odbc 'connect' suite; and just tries force an error
with the extended errors flag both on and off; validating the return
types.

OTP-10603

yangchengjian/otp,goertzenator/otp,lemenkov/otp,lucafavatella/otp,jemsbhai/otp,kvakvs/otp,massemanet/otp,dgud/otp,vinoski/otp,bernardd/otp,lhslll/otp,benoitc/otp-1,jinshana/otp,tuncer/otp,krishnakumar4a4/otp,vic/otp,potatosalad/otp,bsmr-erlang/otp,dumbbell/otp,lantti/otp,goertzenator/otp,release-project/otp,erlang/otp,jemsbhai/otp,emile/otp,mujiatong/otp,lantti/otp,riverrun/otp,uabboli/otp,platinumthinker/otp,ader1990/otp,beni55/otp,platinumthinker/otp,legoscia/otp,cobusc/otp,gjaldon/otp,legoscia/otp,vinoski/otp,dgud/otp,platinumthinker/otp,jj1bdx/otp,dgud/otp,schlagert/otp,isvilen/otp,getong/otp,legoscia/otp,uabboli/otp,bsmr-erlang/otp,emile/otp,saleyn/otp,jemsbhai/otp,NOMORECOFFEE/otp,matwey/otp,RJ/otp,palas/otp,weisslj/otp,lhslll/otp,erlang/otp,emacsmirror/erlang,psyeugenic/otp,bjorng/otp,riverrun/otp,weisslj/otp,g-andrade/otp,dgud/otp,release-project/otp,RoadRunnr/otp,jemsbhai/otp,mikpe/otp,potatosalad/otp,riverrun/otp,psyeugenic/otp,paulcager/otp,dgud/otp,dgud/otp,emile/otp,lightcyphers/otp,bsmr-erlang/otp,stolen/otp,weisslj/otp,krishnakumar4a4/otp,johanclaesson/otp,entropiae/otp,legoscia/otp,sitexa/otp,weisslj/otp,RaimoNiskanen/otp,goertzenator/otp,legoscia/otp,aboroska/otp,RGafiyatullin/otp,NOMORECOFFEE/otp,RJ/otp,fenollp/otp,tuncer/otp,yangchengjian/otp,lemenkov/otp,paladim/otp,ferd/otp,platinumthinker/otp,g-andrade/otp,stolen/otp,emile/otp,msantos/otp,palas/otp,saleyn/otp,schlagert/otp,beni55/otp,vinoski/otp,tuncer/otp,johanclaesson/otp,johanclaesson/otp,weisslj/otp,isvilen/otp,marquisthunder/otp,entropiae/otp,sdebnath/otp,hairyhum/otp,RoadRunnr/otp,lightcyphers/otp,tuncer/otp,theom/otp,electricimp/otp,uabboli/otp,yangchengjian/otp,psyeugenic/otp,goertzenator/otp,bernardd/otp,rlipscombe/otp,johanclaesson/otp,Teino1978-Corp/otp,jamesruan/otp,bjorng/otp,weisslj/otp,sitexa/otp,c-rack/otp,lemenkov/otp,saleyn/otp,g-andrade/otp,falkevik/otp,tuncer/otp,lianghaivv/otp,cobusc/otp,getong/otp,dgud/otp,jinshana/otp,lrascao/otp,legoscia/otp,isvilen/otp,goertzenator/otp,jinshana/otp,bernardd/otp,krishnakumar4a4/otp,bugs-erlang-org/otp,riverrun/otp,lucafavatella/otp,bernardd/otp,matwey/otp,RichMorin/otp,enikki/otp,rlipscombe/otp,VincentHHL/otp,msantos/otp,electricimp/otp,RJ/otp,RGafiyatullin/otp,cobusc/otp,haguenau/otp,marquisthunder/otp,neeraj9/otp,fenollp/otp,bernardd/otp,emile/otp,GinjaNinja32/otp,RGafiyatullin/otp,ahmedshafeeq/otp,lantti/otp,bernardd/otp,RichMorin/otp,vic/otp,mujiatong/otp,isvilen/otp,uabboli/otp,lianghaivv/otp,RoadRunnr/otp,riverrun/otp,tuncer/otp,getong/otp,release-project/otp,c-rack/otp,lrascao/otp,sitexa/otp,saleyn/otp,psyeugenic/otp,awetzel/otp,cnbin/otp,johanclaesson/otp,platinumthinker/otp,vinoski/otp,paladim/otp,yangchengjian/otp,g-andrade/otp,massemanet/otp,cnbin/otp,basho/otp,ader1990/otp,Teino1978-Corp/otp,RoadRunnr/otp,cnbin/otp,lemenkov/otp,emacsmirror/erlang,ferd/otp,falkevik/otp,lucafavatella/otp,RJ/otp,Teino1978-Corp/erlang-otp,theom/otp,saleyn/otp,lantti/otp,msantos/otp,krishnakumar4a4/otp,fenollp/otp,haguenau/otp,goertzenator/otp,yangchengjian/otp,massemanet/otp,palas/otp,lemenkov/otp,ferd/otp,sdebnath/otp,enikki/otp,potatosalad/otp,g-andrade/otp,falkevik/otp,vinoski/otp,cnbin/otp,vladdu/otp,electricimp/otp,cobusc/otp,awetzel/otp,paladim/otp,marquisthunder/otp,derek121/otp,palas/otp,emacsmirror/erlang,lhslll/otp,lucafavatella/otp,bjorng/otp,entropiae/otp,beni55/otp,benoitc/otp-1,bsmr-erlang/otp,NOMORECOFFEE/otp,aboroska/otp,vladdu/otp,GinjaNinja32/otp,jj1bdx/otp,massemanet/otp,lrascao/otp,uabboli/otp,palas/otp,johanclaesson/otp,falkevik/otp,matwey/otp,hairyhum/otp,tuncer/otp,riverrun/otp,matwey/otp,bernardd/otp,vladdu/otp,release-project/otp,mujiatong/otp,cnbin/otp,haguenau/otp,lrascao/otp,aboroska/otp,isvilen/otp,marquisthunder/otp,vinoski/otp,palas/otp,gjaldon/otp,RJ/otp,dumbbell/otp,Teino1978-Corp/erlang-otp,aboroska/otp,paulcager/otp,RGafiyatullin/otp,goertzenator/otp,riverrun/otp,RGafiyatullin/otp,enikki/otp,sammoth-wazoku/otp,psyeugenic/otp,erlang/otp,ahmedshafeeq/otp,vladdu/otp,schlagert/otp,basho/otp,rlipscombe/otp,paulcager/otp,Teino1978-Corp/erlang-otp,basho/otp,emacsmirror/erlang,awetzel/otp,jj1bdx/otp,GinjaNinja32/otp,isvilen/otp,emile/otp,getong/otp,emacsmirror/erlang,RichMorin/otp,NOMORECOFFEE/otp,aboroska/otp,c-rack/otp,sammoth-wazoku/otp,lantti/otp,ferd/otp,schlagert/otp,rlipscombe/otp,VincentHHL/otp,gjaldon/otp,erlang/otp,RJ/otp,VincentHHL/otp,dumbbell/otp,Teino1978-Corp/erlang-otp,bsmr-erlang/otp,jamesruan/otp,johanclaesson/otp,palas/otp,kvakvs/otp,dgud/otp,isvilen/otp,lightcyphers/otp,vic/otp,cobusc/otp,getong/otp,legoscia/otp,lemenkov/otp,vladdu/otp,tuncer/otp,c-rack/otp,saleyn/otp,psyeugenic/otp,hairyhum/otp,sdebnath/otp,lucafavatella/otp,GinjaNinja32/otp,falkevik/otp,Teino1978-Corp/erlang-otp,tuncer/otp,bsmr-erlang/otp,theom/otp,bernardd/otp,bjorng/otp,neeraj9/otp,mikpe/otp,cnbin/otp,massemanet/otp,RichMorin/otp,benoitc/otp-1,sitexa/otp,paulcager/otp,RoadRunnr/otp,lhslll/otp,mikpe/otp,johanclaesson/otp,ader1990/otp,Teino1978-Corp/otp,getong/otp,aboroska/otp,jj1bdx/otp,lucafavatella/otp,goertzenator/otp,cobusc/otp,basho/otp,entropiae/otp,basho/otp,lianghaivv/otp,weisslj/otp,paulcager/otp,paulcager/otp,uabboli/otp,electricimp/otp,schlagert/otp,basho/otp,sammoth-wazoku/otp,beni55/otp,stolen/otp,paladim/otp,jamesruan/otp,jj1bdx/otp,RichMorin/otp,hairyhum/otp,enikki/otp,benoitc/otp-1,paulcager/otp,g-andrade/otp,RaimoNiskanen/otp,derek121/otp,Teino1978-Corp/erlang-otp,sdebnath/otp,ahmedshafeeq/otp,bsmr-erlang/otp,theom/otp,emacsmirror/erlang,palas/otp,rlipscombe/otp,yangchengjian/otp,electricimp/otp,erlang/otp,jj1bdx/otp,aboroska/otp,emacsmirror/erlang,vladdu/otp,bjorng/otp,platinumthinker/otp,rlipscombe/otp,release-project/otp,RaimoNiskanen/otp,RaimoNiskanen/otp,getong/otp,ahmedshafeeq/otp,krishnakumar4a4/otp,lhslll/otp,sitexa/otp,klarna/otp,sdebnath/otp,emile/otp,cobusc/otp,stolen/otp,dumbbell/otp,sitexa/otp,enikki/otp,beni55/otp,marquisthunder/otp,potatosalad/otp,electricimp/otp,electricimp/otp,haguenau/otp,potatosalad/otp,bernardd/otp,matwey/otp,mikpe/otp,lucafavatella/otp,lantti/otp,vinoski/otp,RichMorin/otp,vinoski/otp,klarna/otp,GinjaNinja32/otp,saleyn/otp,aboroska/otp,kvakvs/otp,ahmedshafeeq/otp,jj1bdx/otp,jinshana/otp,platinumthinker/otp,derek121/otp,vladdu/otp,ferd/otp,matwey/otp,dumbbell/otp,Teino1978-Corp/otp,beni55/otp,klarna/otp,ahmedshafeeq/otp,mikpe/otp,gjaldon/otp,riverrun/otp,VincentHHL/otp,getong/otp,lightcyphers/otp,beni55/otp,jemsbhai/otp,beni55/otp,RaimoNiskanen/otp,msantos/otp,vic/otp,benoitc/otp-1,neeraj9/otp,marquisthunder/otp,massemanet/otp,RoadRunnr/otp,matwey/otp,awetzel/otp,ahmedshafeeq/otp,dumbbell/otp,fenollp/otp,cobusc/otp,RJ/otp,c-rack/otp,RoadRunnr/otp,hairyhum/otp,mikpe/otp,sammoth-wazoku/otp,potatosalad/otp,fenollp/otp,neeraj9/otp,NOMORECOFFEE/otp,theom/otp,lightcyphers/otp,awetzel/otp,rlipscombe/otp,bugs-erlang-org/otp,lucafavatella/otp,lianghaivv/otp,klarna/otp,VincentHHL/otp,hairyhum/otp,saleyn/otp,sdebnath/otp,mikpe/otp,psyeugenic/otp,ader1990/otp,kvakvs/otp,vinoski/otp,schlagert/otp,jinshana/otp,g-andrade/otp,paulcager/otp,lantti/otp,ahmedshafeeq/otp,erlang/otp,massemanet/otp,NOMORECOFFEE/otp,sammoth-wazoku/otp,jamesruan/otp,bjorng/otp,entropiae/otp,cnbin/otp,RGafiyatullin/otp,entropiae/otp,lrascao/otp,bjorng/otp,stolen/otp,massemanet/otp,RaimoNiskanen/otp,matwey/otp,bugs-erlang-org/otp,jamesruan/otp,derek121/otp,haguenau/otp,erlang/otp,krishnakumar4a4/otp,potatosalad/otp,bugs-erlang-org/otp,lightcyphers/otp,lightcyphers/otp,uabboli/otp,mujiatong/otp,falkevik/otp,sammoth-wazoku/otp,Teino1978-Corp/otp,marquisthunder/otp,RoadRunnr/otp,erlang/otp,getong/otp,basho/otp,mikpe/otp,lhslll/otp,kvakvs/otp,haguenau/otp,weisslj/otp,GinjaNinja32/otp,jj1bdx/otp,paladim/otp,paladim/otp,RichMorin/otp,fenollp/otp,g-andrade/otp,stolen/otp,aboroska/otp,schlagert/otp,mikpe/otp,mujiatong/otp,g-andrade/otp,bsmr-erlang/otp,lrascao/otp,fenollp/otp,basho/otp,massemanet/otp,sammoth-wazoku/otp,ferd/otp,VincentHHL/otp,vic/otp,msantos/otp,kvakvs/otp,RaimoNiskanen/otp,release-project/otp,lhslll/otp,klarna/otp,legoscia/otp,benoitc/otp-1,gjaldon/otp,derek121/otp,VincentHHL/otp,rlipscombe/otp,lianghaivv/otp,erlang/otp,lemenkov/otp,bjorng/otp,matwey/otp,bugs-erlang-org/otp,derek121/otp,NOMORECOFFEE/otp,bjorng/otp,neeraj9/otp,g-andrade/otp,lhslll/otp,vic/otp,psyeugenic/otp,RichMorin/otp,potatosalad/otp,RaimoNiskanen/otp,dumbbell/otp,bsmr-erlang/otp,kvakvs/otp,paladim/otp,RoadRunnr/otp,krishnakumar4a4/otp,vladdu/otp,lianghaivv/otp,hairyhum/otp,emile/otp,Teino1978-Corp/otp,klarna/otp,emacsmirror/erlang,entropiae/otp,electricimp/otp,release-project/otp,theom/otp,jemsbhai/otp,kvakvs/otp,release-project/otp,awetzel/otp,neeraj9/otp,erlang/otp,legoscia/otp,getong/otp,GinjaNinja32/otp,mujiatong/otp,platinumthinker/otp,lrascao/otp,uabboli/otp,dumbbell/otp,cnbin/otp,lrascao/otp,uabboli/otp,sdebnath/otp,vic/otp,falkevik/otp,c-rack/otp,ferd/otp,lantti/otp,jinshana/otp,sammoth-wazoku/otp,electricimp/otp,gjaldon/otp,msantos/otp,msantos/otp,benoitc/otp-1,dumbbell/otp,ader1990/otp,potatosalad/otp,vinoski/otp,saleyn/otp,enikki/otp,sitexa/otp,bugs-erlang-org/otp,RGafiyatullin/otp,c-rack/otp,krishnakumar4a4/otp,release-project/otp,goertzenator/otp,mujiatong/otp,rlipscombe/otp,yangchengjian/otp,vic/otp,dgud/otp,RaimoNiskanen/otp,hairyhum/otp,haguenau/otp,jamesruan/otp,neeraj9/otp,RGafiyatullin/otp,emile/otp,ader1990/otp,vladdu/otp,jamesruan/otp,bugs-erlang-org/otp,stolen/otp,ferd/otp,ferd/otp,entropiae/otp,klarna/otp,enikki/otp,jemsbhai/otp,isvilen/otp,jj1bdx/otp,theom/otp,falkevik/otp,mujiatong/otp,ader1990/otp,mikpe/otp,neeraj9/otp,c-rack/otp,msantos/otp,ader1990/otp,NOMORECOFFEE/otp,jamesruan/otp,isvilen/otp,derek121/otp,enikki/otp,isvilen/otp,fenollp/otp,fenollp/otp,jinshana/otp,lrascao/otp,GinjaNinja32/otp,schlagert/otp,RJ/otp,ahmedshafeeq/otp,Teino1978-Corp/erlang-otp,awetzel/otp,bugs-erlang-org/otp,bjorng/otp,sitexa/otp,lianghaivv/otp,stolen/otp,dumbbell/otp,yangchengjian/otp,awetzel/otp,benoitc/otp-1,lianghaivv/otp,klarna/otp,Teino1978-Corp/otp,lightcyphers/otp,lemenkov/otp,gjaldon/otp,gjaldon/otp,kvakvs/otp,falkevik/otp,paladim/otp,sdebnath/otp,haguenau/otp,potatosalad/otp,marquisthunder/otp,Teino1978-Corp/erlang-otp,emacsmirror/erlang,dgud/otp,basho/otp,weisslj/otp,emacsmirror/erlang,derek121/otp,rlipscombe/otp,jemsbhai/otp,theom/otp,Teino1978-Corp/otp,VincentHHL/otp,jinshana/otp,jj1bdx/otp