From: <fir...@us...> - 2014-08-12 01:22:41
|
Revision: 59970 http://sourceforge.net/p/firebird/code/59970 Author: firebirds Date: 2014-08-12 01:22:33 +0000 (Tue, 12 Aug 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-08-11 14:02:06 UTC (rev 59969) +++ firebird/trunk/ChangeLog 2014-08-12 01:22:33 UTC (rev 59970) @@ -1,3 +1,7 @@ + 2014-08-11 14:02 dimitr + M src/jrd/RuntimeStatistics.h +Regression in 3.0: trace reports UPDATES in statistics when doing INSERT into <some_table>. + 2014-08-10 20:11 dimitr M src/jrd/Attachment.cpp M src/jrd/Attachment.h Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-08-11 14:02:06 UTC (rev 59969) +++ firebird/trunk/src/jrd/build_no.h 2014-08-12 01:22:33 UTC (rev 59970) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31285 + FORMAL BUILD NUMBER:31286 */ -#define PRODUCT_VER_STRING "3.0.0.31285" -#define FILE_VER_STRING "WI-T3.0.0.31285" -#define LICENSE_VER_STRING "WI-T3.0.0.31285" -#define FILE_VER_NUMBER 3, 0, 0, 31285 +#define PRODUCT_VER_STRING "3.0.0.31286" +#define FILE_VER_STRING "WI-T3.0.0.31286" +#define LICENSE_VER_STRING "WI-T3.0.0.31286" +#define FILE_VER_NUMBER 3, 0, 0, 31286 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31285" +#define FB_BUILD_NO "31286" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-08-11 14:02:06 UTC (rev 59969) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-08-12 01:22:33 UTC (rev 59970) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31285 +BuildNum=31286 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-08-13 01:16:10
|
Revision: 59974 http://sourceforge.net/p/firebird/code/59974 Author: firebirds Date: 2014-08-13 01:16:01 +0000 (Wed, 13 Aug 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-08-12 15:10:52 UTC (rev 59973) +++ firebird/trunk/ChangeLog 2014-08-13 01:16:01 UTC (rev 59974) @@ -1,3 +1,11 @@ + 2014-08-12 15:10 alexpeshkoff + M src/include/firebird/UdrEngine.h +Fixed Mac build + + 2014-08-12 10:21 hvlad + M src/jrd/Monitoring.cpp +Avoid info duplication when statements in call stack attached to different transactions (for example: monitoring snapshot is created in autonomous transaction) + 2014-08-11 14:02 dimitr M src/jrd/RuntimeStatistics.h Regression in 3.0: trace reports UPDATES in statistics when doing INSERT into <some_table>. Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-08-12 15:10:52 UTC (rev 59973) +++ firebird/trunk/src/jrd/build_no.h 2014-08-13 01:16:01 UTC (rev 59974) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31286 + FORMAL BUILD NUMBER:31288 */ -#define PRODUCT_VER_STRING "3.0.0.31286" -#define FILE_VER_STRING "WI-T3.0.0.31286" -#define LICENSE_VER_STRING "WI-T3.0.0.31286" -#define FILE_VER_NUMBER 3, 0, 0, 31286 +#define PRODUCT_VER_STRING "3.0.0.31288" +#define FILE_VER_STRING "WI-T3.0.0.31288" +#define LICENSE_VER_STRING "WI-T3.0.0.31288" +#define FILE_VER_NUMBER 3, 0, 0, 31288 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31286" +#define FB_BUILD_NO "31288" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-08-12 15:10:52 UTC (rev 59973) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-08-13 01:16:01 UTC (rev 59974) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31286 +BuildNum=31288 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-08-16 01:18:10
|
Revision: 59983 http://sourceforge.net/p/firebird/code/59983 Author: firebirds Date: 2014-08-16 01:18:06 +0000 (Sat, 16 Aug 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-08-15 15:37:13 UTC (rev 59982) +++ firebird/trunk/ChangeLog 2014-08-16 01:18:06 UTC (rev 59983) @@ -1,3 +1,102 @@ + 2014-08-15 15:37 alexpeshkoff + M src/yvalve/YObjects.h + M src/yvalve/why.cpp +Clear handle in JBlob when blob is destroyed + + 2014-08-15 15:00 dimitr + M configure.ac +Corrections for the prior commit:Explicitly distinguish between thread handle and thread id. Return LWP as thread id on Linux. + + 2014-08-15 14:59 dimitr + M src/common/ThreadStart.cpp + M src/common/ThreadStart.h + M src/jrd/CryptoManager.h + M src/jrd/Mapping.cpp + M src/jrd/jrd.cpp + M src/remote/remote.h + M src/yvalve/MasterImplementation.cpp + M src/yvalve/utl.cpp + M src/yvalve/why.cpp +Corrections for the prior commit:Explicitly distinguish between thread handle and thread id. Return LWP as thread id on Linux. + + 2014-08-15 14:20 dimitr + M builds/mac_os_x/CS/CS.pbproj/project.pbxproj + M builds/win32/msvc10/common.vcxproj + M builds/win32/msvc10/common.vcxproj.filters + M builds/win32/msvc10/engine.vcxproj + M builds/win32/msvc10/engine.vcxproj.filters + M builds/win32/msvc8/common.vcproj + M builds/win32/msvc8/engine.vcproj + M builds/win32/msvc9/common.vcproj + M builds/win32/msvc9/engine.vcproj +Cleanup and small refactoring to avoid redundancy. + + 2014-08-15 14:19 dimitr + M src/auth/SecurityDatabase/LegacyServer.cpp + M src/common/ThreadStart.cpp + M src/common/ThreadStart.h + M src/common/classes/Synchronize.cpp + M src/common/classes/locks.cpp + M src/common/fb_exception.cpp + M src/common/isc_sync.cpp + D src/common/thd.cpp + D src/common/thd.h + M src/dsql/ddl.cpp + M src/dsql/gen.cpp + M src/dsql/make.cpp + M src/dsql/metd.epp + M src/dsql/pass1.cpp + M src/include/fb_exception.h + M src/jrd/CryptoManager.cpp + M src/jrd/CryptoManager.h + M src/jrd/Database.cpp + M src/jrd/ExtEngineManager.cpp + M src/jrd/Function.epp + M src/jrd/GlobalRWLock.cpp + M src/jrd/Mapping.cpp + M src/jrd/cch.cpp + M src/jrd/dfw.epp + M src/jrd/event.cpp + M src/jrd/fun.epp + M src/jrd/jrd.cpp + M src/jrd/met.epp + M src/jrd/nbak.cpp + M src/jrd/os/pio.h + M src/jrd/pag.cpp + M src/jrd/shut.cpp + M src/jrd/sort.cpp + M src/jrd/svc.cpp + D src/jrd/thread_proto.h + M src/jrd/tra.cpp + M src/jrd/trace/TraceService.cpp + M src/jrd/validation.cpp + M src/jrd/vio.cpp + M src/lock/lock.cpp + M src/remote/inet.cpp + M src/remote/os/win32/wnet.cpp + M src/remote/os/win32/xnet.cpp + M src/remote/remote.cpp + M src/remote/remote.h + M src/remote/server/os/posix/inet_server.cpp + M src/remote/server/os/win32/cntl.cpp + M src/remote/server/os/win32/property.cpp + M src/remote/server/os/win32/window.cpp + M src/remote/server/server.cpp + M src/utilities/gstat/dba.epp + M src/yvalve/MasterImplementation.cpp + M src/yvalve/utl.cpp + M src/yvalve/why.cpp +Cleanup and small refactoring to avoid redundancy. + + 2014-08-15 13:14 alexpeshkoff + M src/yvalve/why.cpp +Cleanup + + 2014-08-15 13:08 alexpeshkoff + M src/jrd/EngineInterface.h + M src/jrd/blb.cpp +Clear handle in JBlob when blob is destroyed + 2014-08-12 15:10 alexpeshkoff M src/include/firebird/UdrEngine.h Fixed Mac build Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-08-15 15:37:13 UTC (rev 59982) +++ firebird/trunk/src/jrd/build_no.h 2014-08-16 01:18:06 UTC (rev 59983) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31288 + FORMAL BUILD NUMBER:31295 */ -#define PRODUCT_VER_STRING "3.0.0.31288" -#define FILE_VER_STRING "WI-T3.0.0.31288" -#define LICENSE_VER_STRING "WI-T3.0.0.31288" -#define FILE_VER_NUMBER 3, 0, 0, 31288 +#define PRODUCT_VER_STRING "3.0.0.31295" +#define FILE_VER_STRING "WI-T3.0.0.31295" +#define LICENSE_VER_STRING "WI-T3.0.0.31295" +#define FILE_VER_NUMBER 3, 0, 0, 31295 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31288" +#define FB_BUILD_NO "31295" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-08-15 15:37:13 UTC (rev 59982) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-08-16 01:18:06 UTC (rev 59983) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31288 +BuildNum=31295 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-08-18 01:16:24
|
Revision: 59986 http://sourceforge.net/p/firebird/code/59986 Author: firebirds Date: 2014-08-18 01:16:20 +0000 (Mon, 18 Aug 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-08-17 04:17:48 UTC (rev 59985) +++ firebird/trunk/ChangeLog 2014-08-18 01:16:20 UTC (rev 59986) @@ -1,3 +1,11 @@ + 2014-08-17 04:17 robocop + M src/common/classes/array.h +Misc. + + 2014-08-17 03:52 robocop + M src/yvalve/why.cpp +I assume this is a bug. + 2014-08-15 15:37 alexpeshkoff M src/yvalve/YObjects.h M src/yvalve/why.cpp Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-08-17 04:17:48 UTC (rev 59985) +++ firebird/trunk/src/jrd/build_no.h 2014-08-18 01:16:20 UTC (rev 59986) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31295 + FORMAL BUILD NUMBER:31297 */ -#define PRODUCT_VER_STRING "3.0.0.31295" -#define FILE_VER_STRING "WI-T3.0.0.31295" -#define LICENSE_VER_STRING "WI-T3.0.0.31295" -#define FILE_VER_NUMBER 3, 0, 0, 31295 +#define PRODUCT_VER_STRING "3.0.0.31297" +#define FILE_VER_STRING "WI-T3.0.0.31297" +#define LICENSE_VER_STRING "WI-T3.0.0.31297" +#define FILE_VER_NUMBER 3, 0, 0, 31297 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31295" +#define FB_BUILD_NO "31297" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-08-17 04:17:48 UTC (rev 59985) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-08-18 01:16:20 UTC (rev 59986) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31295 +BuildNum=31297 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-08-20 01:26:35
|
Revision: 59988 http://sourceforge.net/p/firebird/code/59988 Author: firebirds Date: 2014-08-20 01:26:32 +0000 (Wed, 20 Aug 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-08-19 09:53:42 UTC (rev 59987) +++ firebird/trunk/ChangeLog 2014-08-20 01:26:32 UTC (rev 59988) @@ -1,3 +1,7 @@ + 2014-08-19 09:53 alexpeshkoff + M src/gpre/obj_cxx.cpp +Fixed CORE-4506: Firebird server crashes when execute most of "show ..." commands after reconnect + 2014-08-17 04:17 robocop M src/common/classes/array.h Misc. Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-08-19 09:53:42 UTC (rev 59987) +++ firebird/trunk/src/jrd/build_no.h 2014-08-20 01:26:32 UTC (rev 59988) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31297 + FORMAL BUILD NUMBER:31298 */ -#define PRODUCT_VER_STRING "3.0.0.31297" -#define FILE_VER_STRING "WI-T3.0.0.31297" -#define LICENSE_VER_STRING "WI-T3.0.0.31297" -#define FILE_VER_NUMBER 3, 0, 0, 31297 +#define PRODUCT_VER_STRING "3.0.0.31298" +#define FILE_VER_STRING "WI-T3.0.0.31298" +#define LICENSE_VER_STRING "WI-T3.0.0.31298" +#define FILE_VER_NUMBER 3, 0, 0, 31298 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31297" +#define FB_BUILD_NO "31298" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-08-19 09:53:42 UTC (rev 59987) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-08-20 01:26:32 UTC (rev 59988) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31297 +BuildNum=31298 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-08-21 01:22:18
|
Revision: 59991 http://sourceforge.net/p/firebird/code/59991 Author: firebirds Date: 2014-08-21 01:22:15 +0000 (Thu, 21 Aug 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-08-20 10:07:19 UTC (rev 59990) +++ firebird/trunk/ChangeLog 2014-08-21 01:22:15 UTC (rev 59991) @@ -1,3 +1,12 @@ + 2014-08-20 10:07 alexpeshkoff + M src/common/ThreadStart.cpp + M src/common/ThreadStart.h +Fixed non-linux posix builds + + 2014-08-20 09:26 alexpeshkoff + M src/gpre/obj_cxx.cpp +Postfix for CORE-4506: forgotten to release request + 2014-08-19 09:53 alexpeshkoff M src/gpre/obj_cxx.cpp Fixed CORE-4506: Firebird server crashes when execute most of "show ..." commands after reconnect Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-08-20 10:07:19 UTC (rev 59990) +++ firebird/trunk/src/jrd/build_no.h 2014-08-21 01:22:15 UTC (rev 59991) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31298 + FORMAL BUILD NUMBER:31300 */ -#define PRODUCT_VER_STRING "3.0.0.31298" -#define FILE_VER_STRING "WI-T3.0.0.31298" -#define LICENSE_VER_STRING "WI-T3.0.0.31298" -#define FILE_VER_NUMBER 3, 0, 0, 31298 +#define PRODUCT_VER_STRING "3.0.0.31300" +#define FILE_VER_STRING "WI-T3.0.0.31300" +#define LICENSE_VER_STRING "WI-T3.0.0.31300" +#define FILE_VER_NUMBER 3, 0, 0, 31300 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31298" +#define FB_BUILD_NO "31300" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-08-20 10:07:19 UTC (rev 59990) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-08-21 01:22:15 UTC (rev 59991) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31298 +BuildNum=31300 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-08-22 01:27:33
|
Revision: 59993 http://sourceforge.net/p/firebird/code/59993 Author: firebirds Date: 2014-08-22 01:27:26 +0000 (Fri, 22 Aug 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-08-21 08:00:53 UTC (rev 59992) +++ firebird/trunk/ChangeLog 2014-08-22 01:27:26 UTC (rev 59993) @@ -1,3 +1,7 @@ + 2014-08-21 08:00 alexpeshkoff + M src/jrd/Mapping.cpp +Explicitly avoid processing records about already seen databases when mapping auth info + 2014-08-20 10:07 alexpeshkoff M src/common/ThreadStart.cpp M src/common/ThreadStart.h Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-08-21 08:00:53 UTC (rev 59992) +++ firebird/trunk/src/jrd/build_no.h 2014-08-22 01:27:26 UTC (rev 59993) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31300 + FORMAL BUILD NUMBER:31301 */ -#define PRODUCT_VER_STRING "3.0.0.31300" -#define FILE_VER_STRING "WI-T3.0.0.31300" -#define LICENSE_VER_STRING "WI-T3.0.0.31300" -#define FILE_VER_NUMBER 3, 0, 0, 31300 +#define PRODUCT_VER_STRING "3.0.0.31301" +#define FILE_VER_STRING "WI-T3.0.0.31301" +#define LICENSE_VER_STRING "WI-T3.0.0.31301" +#define FILE_VER_NUMBER 3, 0, 0, 31301 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31300" +#define FB_BUILD_NO "31301" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-08-21 08:00:53 UTC (rev 59992) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-08-22 01:27:26 UTC (rev 59993) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31300 +BuildNum=31301 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-08-26 01:27:49
|
Revision: 59998 http://sourceforge.net/p/firebird/code/59998 Author: firebirds Date: 2014-08-26 01:27:46 +0000 (Tue, 26 Aug 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-08-25 14:04:50 UTC (rev 59997) +++ firebird/trunk/ChangeLog 2014-08-26 01:27:46 UTC (rev 59998) @@ -1,3 +1,17 @@ + 2014-08-25 14:04 alexpeshkoff + M examples/dbcrypt/DbCrypt.cpp +Make a dbCrypt sample a little more interesting + + 2014-08-25 13:28 dimitr + M src/jrd/Optimizer.cpp +Fixed CORE-4530: DB_KEY based join of two tables may be ineffective. + + 2014-08-25 11:35 dimitr + M src/dsql/ExprNodes.cpp + M src/dsql/ExprNodes.h + M src/jrd/opt.cpp +Attempt for CORE-4528: Allow hash/merge joins for non-field (dbkey or derived expression) equalities. + 2014-08-21 08:00 alexpeshkoff M src/jrd/Mapping.cpp Explicitly avoid processing records about already seen databases when mapping auth info Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-08-25 14:04:50 UTC (rev 59997) +++ firebird/trunk/src/jrd/build_no.h 2014-08-26 01:27:46 UTC (rev 59998) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31301 + FORMAL BUILD NUMBER:31304 */ -#define PRODUCT_VER_STRING "3.0.0.31301" -#define FILE_VER_STRING "WI-T3.0.0.31301" -#define LICENSE_VER_STRING "WI-T3.0.0.31301" -#define FILE_VER_NUMBER 3, 0, 0, 31301 +#define PRODUCT_VER_STRING "3.0.0.31304" +#define FILE_VER_STRING "WI-T3.0.0.31304" +#define LICENSE_VER_STRING "WI-T3.0.0.31304" +#define FILE_VER_NUMBER 3, 0, 0, 31304 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31301" +#define FB_BUILD_NO "31304" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-08-25 14:04:50 UTC (rev 59997) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-08-26 01:27:46 UTC (rev 59998) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31301 +BuildNum=31304 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-08-27 01:23:11
|
Revision: 60001 http://sourceforge.net/p/firebird/code/60001 Author: firebirds Date: 2014-08-27 01:23:06 +0000 (Wed, 27 Aug 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-08-26 14:16:09 UTC (rev 60000) +++ firebird/trunk/ChangeLog 2014-08-27 01:23:06 UTC (rev 60001) @@ -1,3 +1,7 @@ + 2014-08-26 14:16 dimitr + M src/common/ThreadStart.h +Quick fix for the Windows build. + 2014-08-25 14:04 alexpeshkoff M examples/dbcrypt/DbCrypt.cpp Make a dbCrypt sample a little more interesting Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-08-26 14:16:09 UTC (rev 60000) +++ firebird/trunk/src/jrd/build_no.h 2014-08-27 01:23:06 UTC (rev 60001) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31304 + FORMAL BUILD NUMBER:31305 */ -#define PRODUCT_VER_STRING "3.0.0.31304" -#define FILE_VER_STRING "WI-T3.0.0.31304" -#define LICENSE_VER_STRING "WI-T3.0.0.31304" -#define FILE_VER_NUMBER 3, 0, 0, 31304 +#define PRODUCT_VER_STRING "3.0.0.31305" +#define FILE_VER_STRING "WI-T3.0.0.31305" +#define LICENSE_VER_STRING "WI-T3.0.0.31305" +#define FILE_VER_NUMBER 3, 0, 0, 31305 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31304" +#define FB_BUILD_NO "31305" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-08-26 14:16:09 UTC (rev 60000) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-08-27 01:23:06 UTC (rev 60001) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31304 +BuildNum=31305 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ale...@us...> - 2014-08-27 09:24:44
|
Revision: 60002 http://sourceforge.net/p/firebird/code/60002 Author: alexpeshkoff Date: 2014-08-27 09:24:30 +0000 (Wed, 27 Aug 2014) Log Message: ----------- Divide IStatus information into 3 parts: errors, warnings and completion code. Errors and warnings are processed in IStatus independently. Completion code is moved away from IStatus and returned directly by appropriate functions. Replaced isSuccess() with more generic function getStatus(), which sets appropriate bits in returned value when errors/warnings are present. Also use same style when returning bytes' array and it's length in different interfaces. Modified Paths: -------------- firebird/trunk/examples/dbcrypt/CryptKeyHolder.cpp firebird/trunk/examples/dbcrypt/DbCrypt.cpp firebird/trunk/examples/interfaces/01.create.cpp firebird/trunk/examples/interfaces/02.update.cpp firebird/trunk/examples/interfaces/03.select.cpp firebird/trunk/examples/interfaces/04.print_table.cpp firebird/trunk/examples/udr/UdrCppExample.cpp firebird/trunk/src/auth/AuthDbg.cpp firebird/trunk/src/auth/SecureRemotePassword/Message.h firebird/trunk/src/auth/SecureRemotePassword/client/SrpClient.cpp firebird/trunk/src/auth/SecureRemotePassword/manage/SrpManagement.cpp firebird/trunk/src/auth/SecureRemotePassword/server/SrpServer.cpp firebird/trunk/src/auth/SecurityDatabase/LegacyClient.cpp firebird/trunk/src/auth/SecurityDatabase/LegacyManagement.epp firebird/trunk/src/auth/SecurityDatabase/LegacyServer.cpp firebird/trunk/src/common/BigInteger.cpp firebird/trunk/src/common/CsConvert.h firebird/trunk/src/common/MsgMetadata.h firebird/trunk/src/common/StatusArg.cpp firebird/trunk/src/common/StatusArg.h firebird/trunk/src/common/StatusHolder.cpp firebird/trunk/src/common/StatusHolder.h firebird/trunk/src/common/UtilSvc.cpp firebird/trunk/src/common/call_service.cpp firebird/trunk/src/common/classes/BlrReader.h firebird/trunk/src/common/classes/ImplementHelper.h firebird/trunk/src/common/cvt.cpp firebird/trunk/src/common/db_alias.cpp firebird/trunk/src/common/dsc.cpp firebird/trunk/src/common/fb_exception.cpp firebird/trunk/src/common/isc.cpp firebird/trunk/src/common/isc_proto.h firebird/trunk/src/common/os/os_utils.h firebird/trunk/src/common/unicode_util.cpp firebird/trunk/src/common/utils.cpp firebird/trunk/src/common/utils_proto.h firebird/trunk/src/dsql/DdlNodes.epp firebird/trunk/src/dsql/dsql.cpp firebird/trunk/src/gpre/obj_cxx.cpp firebird/trunk/src/include/fb_exception.h firebird/trunk/src/include/fb_types.h firebird/trunk/src/include/firebird/Auth.h firebird/trunk/src/include/firebird/Interface.h firebird/trunk/src/include/firebird/Provider.h firebird/trunk/src/include/firebird/UdrCppEngine.h firebird/trunk/src/isql/extract.epp firebird/trunk/src/isql/isql.epp firebird/trunk/src/isql/show.epp firebird/trunk/src/jrd/CryptoManager.cpp firebird/trunk/src/jrd/Database.cpp firebird/trunk/src/jrd/EngineInterface.h firebird/trunk/src/jrd/Mapping.cpp firebird/trunk/src/jrd/UserManagement.cpp firebird/trunk/src/jrd/extds/ExtDS.cpp firebird/trunk/src/jrd/extds/InternalDS.cpp firebird/trunk/src/jrd/jrd.cpp firebird/trunk/src/jrd/jrd.h firebird/trunk/src/jrd/tra.cpp firebird/trunk/src/jrd/trace/TraceManager.cpp firebird/trunk/src/plugins/udr_engine/UdrEngine.cpp firebird/trunk/src/remote/client/interface.cpp firebird/trunk/src/remote/inet.cpp firebird/trunk/src/remote/remote.cpp firebird/trunk/src/remote/remote.h firebird/trunk/src/remote/server/server.cpp firebird/trunk/src/utilities/fbsvcmgr/fbsvcmgr.cpp firebird/trunk/src/utilities/gsec/gsec.cpp firebird/trunk/src/yvalve/DistributedTransaction.cpp firebird/trunk/src/yvalve/PluginManager.cpp firebird/trunk/src/yvalve/YObjects.h firebird/trunk/src/yvalve/perf.cpp firebird/trunk/src/yvalve/preparse.cpp firebird/trunk/src/yvalve/utl.cpp firebird/trunk/src/yvalve/why.cpp Modified: firebird/trunk/examples/dbcrypt/CryptKeyHolder.cpp =================================================================== --- firebird/trunk/examples/dbcrypt/CryptKeyHolder.cpp 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/examples/dbcrypt/CryptKeyHolder.cpp 2014-08-27 09:24:30 UTC (rev 60002) @@ -197,7 +197,7 @@ vector[2] = isc_arg_string; vector[3] = (ISC_STATUS) "Key not set"; vector[4] = isc_arg_end; - status->set(vector); + status->setErrors(vector); } int FB_CARG CryptKeyHolder::keyCallback(IStatus* status, ICryptKeyCallback* callback) @@ -208,12 +208,12 @@ return 1; IConfig* def = config->getDefaultConfig(status); - if (!status->isSuccess()) + if (status->getStatus() & Firebird::IStatus::FB_HAS_ERRORS) return 1; IConfigEntry* confEntry = def->find(status, "Auto"); def->release(); - if (!status->isSuccess()) + if (status->getStatus() & Firebird::IStatus::FB_HAS_ERRORS) return 1; if (confEntry) Modified: firebird/trunk/examples/dbcrypt/DbCrypt.cpp =================================================================== --- firebird/trunk/examples/dbcrypt/DbCrypt.cpp 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/examples/dbcrypt/DbCrypt.cpp 2014-08-27 09:24:30 UTC (rev 60002) @@ -152,7 +152,7 @@ vector[2] = isc_arg_string; vector[3] = (ISC_STATUS)"Key not set"; vector[4] = isc_arg_end; - status->set(vector); + status->setErrors(vector); } void FB_CARG DbCrypt::encrypt(IStatus* status, unsigned int length, const void* from, void* to) @@ -201,11 +201,11 @@ return; IConfig* def = config->getDefaultConfig(status); - if (!status->isSuccess()) + if (status->getStatus() & Firebird::IStatus::FB_HAS_ERRORS) return; IConfigEntry* confEntry = def->find(status, "Auto"); - if (!status->isSuccess()) + if (status->getStatus() & Firebird::IStatus::FB_HAS_ERRORS) { def->release(); return; @@ -238,7 +238,7 @@ for (unsigned n = 0; n < length; ++n) { ICryptKeyCallback* callback = sources[n]->keyHandle(status, "sample"); - if (!status->isSuccess()) + if (status->getStatus() & Firebird::IStatus::FB_HAS_ERRORS) return; if (callback && callback->callback(0, NULL, 1, &key) == 1) Modified: firebird/trunk/examples/interfaces/01.create.cpp =================================================================== --- firebird/trunk/examples/interfaces/01.create.cpp 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/examples/interfaces/01.create.cpp 2014-08-27 09:24:30 UTC (rev 60002) @@ -49,7 +49,7 @@ // Probably not best way of error processing, but it's OK for a sample static void check(IStatus* s, const char* text) { - if (!s->isSuccess()) + if (s->getStatus() & IStatus::FB_HAS_ERRORS) throw text; } @@ -141,7 +141,7 @@ rc = 1; fprintf(stderr, "%s:\n", text); if (st) - isc_print_status(st->get()); + isc_print_status(st->getErrors()); } // release interfaces after error caught Modified: firebird/trunk/examples/interfaces/02.update.cpp =================================================================== --- firebird/trunk/examples/interfaces/02.update.cpp 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/examples/interfaces/02.update.cpp 2014-08-27 09:24:30 UTC (rev 60002) @@ -55,7 +55,7 @@ static void check(IStatus* s, const char* text) { - if (!s->isSuccess()) + if (s->getStatus() & IStatus::FB_HAS_ERRORS) throw text; } @@ -152,9 +152,9 @@ // Update the budget. stmt->execute(st, tra, meta, buffer, NULL, NULL); - if (!st->isSuccess()) + if (st->getStatus() & IStatus::FB_HAS_ERRORS) { - int sqlcode = isc_sqlcode(st->get()); + int sqlcode = isc_sqlcode(st->getErrors()); // Don't save the update, if the new budget exceeds the limit. if (sqlcode == -625) { @@ -198,7 +198,7 @@ rc = 1; fprintf(stderr, "%s:\n", text); if (st) - isc_print_status(st->get()); + isc_print_status(st->getErrors()); } // release interfaces after error caught Modified: firebird/trunk/examples/interfaces/03.select.cpp =================================================================== --- firebird/trunk/examples/interfaces/03.select.cpp 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/examples/interfaces/03.select.cpp 2014-08-27 09:24:30 UTC (rev 60002) @@ -46,7 +46,7 @@ static void check(IStatus* s, const char* text) { - if (!s->isSuccess()) + if (s->getStatus() & IStatus::FB_HAS_ERRORS) throw text; } @@ -156,7 +156,7 @@ unsigned char* buffer = new unsigned char[l]; // fetch records from cursor and print them - while (curs->fetchNext(st, buffer)) + while (curs->fetchNext(st, buffer) == IStatus::FB_OK) { for (unsigned j = 0; j < cols; ++j) { @@ -196,7 +196,7 @@ rc = 1; fprintf(stderr, "%s:\n", text); if (st) - isc_print_status(st->get()); + isc_print_status(st->getErrors()); } // release interfaces after error caught Modified: firebird/trunk/examples/interfaces/04.print_table.cpp =================================================================== --- firebird/trunk/examples/interfaces/04.print_table.cpp 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/examples/interfaces/04.print_table.cpp 2014-08-27 09:24:30 UTC (rev 60002) @@ -45,7 +45,7 @@ static void check(IStatus* s, const char* text) { - if (!s->isSuccess()) + if (s->getStatus() & IStatus::FB_HAS_ERRORS) throw text; } @@ -157,7 +157,7 @@ unsigned char* buffer = new unsigned char[l]; // fetch records from cursor - while (curs->fetchNext(st, buffer)) + while (curs->fetchNext(st, buffer) == IStatus::FB_OK) { for (unsigned j = 0; j < f; ++j) { @@ -190,7 +190,7 @@ fflush(stdout); fprintf(stderr, " %s:\n", text); if (st) - isc_print_status(st->get()); + isc_print_status(st->getErrors()); } if (meta) @@ -260,15 +260,14 @@ char segbuf[16]; unsigned len; // read data segment by segment - while ( (len = blob->getSegment(st, sizeof(segbuf), segbuf)) ) + for(;;) { - // to be reviewed after A1 - need better segment/eof handling - if (st->get()[1] != isc_segment) - check(st, "getSegment"); + int cc = blob->getSegment(st, sizeof(segbuf), segbuf, &len); + if (cc != IStatus::FB_OK && cc != IStatus::FB_SEGMENT) + break; fwrite(segbuf, sizeof(char), len, stdout); } - if (st->get()[1] != isc_segstr_eof) - check(st, "getSegment"); + check(st, "getSegment"); // close BLOB after receiving all data blob->close(st); Modified: firebird/trunk/examples/udr/UdrCppExample.cpp =================================================================== --- firebird/trunk/examples/udr/UdrCppExample.cpp 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/examples/udr/UdrCppExample.cpp 2014-08-27 09:24:30 UTC (rev 60002) @@ -676,7 +676,7 @@ // This will not work if the table has computed fields. stmt->execute(status, transaction, triggerMetadata, newFields, NULL, NULL); - StatusException::check(status->get()); + StatusException::check(status->getErrors()); } AutoRelease<IMessageMetadata> triggerMetadata; @@ -785,7 +785,7 @@ ITransaction* transaction = StatusException::check(status, context->getTransaction(status)); stmt->execute(status, transaction, triggerMetadata, newFields, NULL, NULL); - StatusException::check(status->get()); + StatusException::check(status->getErrors()); } AutoRelease<IMessageMetadata> triggerMetadata; Modified: firebird/trunk/src/auth/AuthDbg.cpp =================================================================== --- firebird/trunk/src/auth/AuthDbg.cpp 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/src/auth/AuthDbg.cpp 2014-08-27 09:24:30 UTC (rev 60002) @@ -86,7 +86,7 @@ fprintf(stderr, "DebugServer::authenticate1: %s\n", str.c_str()); #endif sb->putData(status, str.length(), str.c_str()); - if (!status->isSuccess()) + if (status->getStatus() & Firebird::IStatus::FB_HAS_ERRORS) { return AUTH_FAILED; } @@ -167,7 +167,7 @@ fprintf(stderr, "DebugClient::authenticate: sending %s\n", str.c_str()); #endif cb->putData(status, str.length(), str.c_str()); - if (! status->isSuccess()) + if (status->getStatus() & Firebird::IStatus::FB_HAS_ERRORS) { return AUTH_FAILED; } Modified: firebird/trunk/src/auth/SecureRemotePassword/Message.h =================================================================== --- firebird/trunk/src/auth/SecureRemotePassword/Message.h 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/src/auth/SecureRemotePassword/Message.h 2014-08-27 09:24:30 UTC (rev 60002) @@ -27,9 +27,9 @@ { Firebird::LocalStatus st; Firebird::IMessageMetadata* m = out ? stmt->getOutputMetadata(&st) : stmt->getInputMetadata(&st); - if (!st.isSuccess()) + if (st.getStatus() & Firebird::IStatus::FB_HAS_ERRORS) { - Firebird::status_exception::raise(st.get()); + Firebird::status_exception::raise(&st); } assignRefNoIncr(m); } @@ -171,13 +171,13 @@ static void check(Firebird::IStatus* status) { - if (!status->isSuccess()) + if (status->getStatus() & Firebird::IStatus::FB_HAS_ERRORS) { #ifdef INTERNAL_FIREBIRD - Firebird::status_exception::raise(status->get()); + Firebird::status_exception::raise(status); #else char s[100]; - const ISC_STATUS* st = status->get(); + const ISC_STATUS* st = status->getErrors(); fb_interpret(s, sizeof(s), &st); fatalErrorHandler(s); #endif Modified: firebird/trunk/src/auth/SecureRemotePassword/client/SrpClient.cpp =================================================================== --- firebird/trunk/src/auth/SecureRemotePassword/client/SrpClient.cpp 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/src/auth/SecureRemotePassword/client/SrpClient.cpp 2014-08-27 09:24:30 UTC (rev 60002) @@ -75,7 +75,7 @@ client->genClientKey(data); dumpIt("Clnt: clientPubKey", data); cb->putData(status, data.length(), data.begin()); - return status->isSuccess() ? AUTH_MORE_DATA : AUTH_FAILED; + return status->getStatus() & IStatus::FB_HAS_ERRORS ? AUTH_FAILED : AUTH_MORE_DATA; } HANDSHAKE_DEBUG(fprintf(stderr, "Cli: SRP phase2\n")); @@ -125,7 +125,7 @@ cProof.getText(data); cb->putData(status, data.length(), data.c_str()); - if (!status->isSuccess()) + if (status->getStatus() & IStatus::FB_HAS_ERRORS) { return AUTH_FAILED; } @@ -133,7 +133,7 @@ // output the key FbCryptKey cKey = {"Symmetric", sessionKey.begin(), NULL, sessionKey.getCount(), 0}; cb->putKey(status, &cKey); - if (!status->isSuccess()) + if (status->getStatus() & IStatus::FB_HAS_ERRORS) { return AUTH_FAILED; } Modified: firebird/trunk/src/auth/SecureRemotePassword/manage/SrpManagement.cpp =================================================================== --- firebird/trunk/src/auth/SecureRemotePassword/manage/SrpManagement.cpp 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/src/auth/SecureRemotePassword/manage/SrpManagement.cpp 2014-08-27 09:24:30 UTC (rev 60002) @@ -153,7 +153,7 @@ selGrantor.c_str(), SQL_DIALECT_V6, NULL, NULL, out.getMetadata(), NULL); check(&s); - bool hasGrant = curs->fetchNext(&s, out.getBuffer()); + bool hasGrant = curs->fetchNext(&s, out.getBuffer()) == Firebird::IStatus::FB_OK; curs->close(&s); check(&s); @@ -212,8 +212,8 @@ Firebird::ClumpletWriter dpb(Firebird::ClumpletReader::dpbList, MAX_DPB_SIZE); dpb.insertByte(isc_dpb_sec_attach, TRUE); - const unsigned char* authBlock; - unsigned int authBlockSize = logonInfo->authBlock(&authBlock); + unsigned int authBlockSize; + const unsigned char* authBlock = logonInfo->authBlock(&authBlockSize); const char* str = logonInfo->role(); if (str && str[0]) @@ -297,16 +297,16 @@ for (unsigned repeat = 0; ; ++repeat) { stmt = att->prepare(status, tra, 0, insert, SQL_DIALECT_V6, Firebird::IStatement::PREPARE_PREFETCH_METADATA); - if (status->isSuccess()) + if (!(status->getStatus() & Firebird::IStatus::FB_HAS_ERRORS)) { break; } else if (repeat > 0) { - Firebird::status_exception::raise(status->get()); + Firebird::status_exception::raise(status); } - if (fb_utils::containsErrorCode(status->get(), isc_dsql_relation_err)) + if (fb_utils::containsErrorCode(status->getErrors(), isc_dsql_relation_err)) { prepareDataStructures(); tra->commit(status); @@ -562,7 +562,7 @@ (par ? par->getBuffer() : NULL), om); check(status); - while (rs->fetchNext(status, di.getBuffer())) + while (rs->fetchNext(status, di.getBuffer()) == Firebird::IStatus::FB_OK) { listField(user->userName(), login); listField(user->firstName(), first); @@ -613,7 +613,7 @@ if (tra) { tra->commit(status); - if (status->isSuccess()) + if (!(status->getStatus() & Firebird::IStatus::FB_HAS_ERRORS)) { tra = NULL; } @@ -625,7 +625,7 @@ if (tra) { tra->rollback(status); - if (status->isSuccess()) + if (!(status->getStatus() & Firebird::IStatus::FB_HAS_ERRORS)) { tra = NULL; } @@ -641,7 +641,7 @@ if (att) { att->detach(&status); - if (status.isSuccess()) + if (!(status.getStatus() & Firebird::IStatus::FB_HAS_ERRORS)) { att = NULL; } @@ -690,10 +690,10 @@ static void check(Firebird::IStatus* status) { - if (!status->isSuccess()) + if (status->getStatus() & Firebird::IStatus::FB_HAS_ERRORS) { - checkStatusVectorForMissingTable(status->get()); - Firebird::status_exception::raise(status->get()); + checkStatusVectorForMissingTable(status->getErrors()); + Firebird::status_exception::raise(status); } } @@ -841,14 +841,14 @@ char segbuf[256]; unsigned len; - while ( (len = blob->getSegment(&st, sizeof(segbuf), segbuf)) ) + for (;;) { - if (st.get()[1] != isc_segment) - check(&st); + int cc = blob->getSegment(&st, sizeof(segbuf), segbuf, &len); + check(&st); + if (cc == Firebird::IStatus::FB_EOF) + break; s.append(segbuf, len); } - if (st.get()[1] != isc_segstr_eof) - check(&st); blob->close(&st); check(&st); Modified: firebird/trunk/src/auth/SecureRemotePassword/server/SrpServer.cpp =================================================================== --- firebird/trunk/src/auth/SecureRemotePassword/server/SrpServer.cpp 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/src/auth/SecureRemotePassword/server/SrpServer.cpp 2014-08-27 09:24:30 UTC (rev 60002) @@ -133,10 +133,7 @@ const char* providers = "Providers=" CURRENT_ENGINE; dpb.insertString(isc_dpb_config, providers, fb_strlen(providers)); att = p->attachDatabase(status, secDbName, dpb.getBufferLength(), dpb.getBuffer()); - if (!status->isSuccess()) - { - status_exception::raise(status->get()); - } + check(status); HANDSHAKE_DEBUG(fprintf(stderr, "Srv SRP: attached sec db %s\n", secDbName)); const UCHAR tpb[] = @@ -148,19 +145,16 @@ isc_tpb_wait }; tra = att->startTransaction(status, sizeof(tpb), tpb); - if (!status->isSuccess()) - { - status_exception::raise(status->get()); - } + check(status); HANDSHAKE_DEBUG(fprintf(stderr, "Srv: SRP1: started transaction\n")); const char* sql = "SELECT PLG$VERIFIER, PLG$SALT FROM PLG$SRP WHERE PLG$USER_NAME = ? AND PLG$ACTIVE"; stmt = att->prepare(status, tra, 0, sql, 3, IStatement::PREPARE_PREFETCH_METADATA); - if (!status->isSuccess()) + if (status->getStatus() & IStatus::FB_HAS_ERRORS) { - checkStatusVectorForMissingTable(status->get()); - status_exception::raise(status->get()); + checkStatusVectorForMissingTable(status->getErrors()); + status_exception::raise(status); } Meta im(stmt, false); @@ -170,20 +164,14 @@ Meta om(stmt, true); Message dat(om); - if (!status->isSuccess()) - { - status_exception::raise(status->get()); - } + check(status); Field<Varying> verify(dat); Field<Varying> slt(dat); HANDSHAKE_DEBUG(fprintf(stderr, "Srv: SRP1: Ready to run statement with login '%s'\n", account.c_str())); stmt->execute(status, tra, par.getMetadata(), par.getBuffer(), dat.getMetadata(), dat.getBuffer()); - if (!status->isSuccess()) - { - status_exception::raise(status->get()); - } + check(status); HANDSHAKE_DEBUG(fprintf(stderr, "Srv: SRP1: Executed statement\n")); verifier.assign(reinterpret_cast<const UCHAR*>((const char*) verify), RemotePassword::SRP_VERIFIER_SIZE); @@ -194,24 +182,15 @@ dumpIt("Srv: salt", salt); stmt->free(status); - if (!status->isSuccess()) - { - status_exception::raise(status->get()); - } + check(status); stmt = NULL; tra->rollback(status); - if (!status->isSuccess()) - { - status_exception::raise(status->get()); - } + check(status); tra = NULL; att->detach(status); - if (!status->isSuccess()) - { - status_exception::raise(status->get()); - } + check(status); att = NULL; } catch(const Exception&) @@ -241,7 +220,7 @@ dumpIt("Srv: serverPubKey", serverPubKey); dumpBin("Srv: data", data); sb->putData(status, data.length(), data.c_str()); - if (!status->isSuccess()) + if (status->getStatus() & IStatus::FB_HAS_ERRORS) { return AUTH_FAILED; } @@ -252,7 +231,7 @@ // output the key FbCryptKey cKey = {"Symmetric", sessionKey.begin(), NULL, sessionKey.getCount(), 0}; sb->putKey(status, &cKey); - if (!status->isSuccess()) + if (status->getStatus() & IStatus::FB_HAS_ERRORS) { return AUTH_FAILED; } @@ -271,12 +250,12 @@ { MasterInterfacePtr()->upgradeInterface(writerInterface, FB_AUTH_WRITER_VERSION, upInfo); writerInterface->add(status, account.c_str()); - if (!status->isSuccess()) + if (status->getStatus() & IStatus::FB_HAS_ERRORS) { return AUTH_FAILED; } writerInterface->setDb(status, secDbName); - if (!status->isSuccess()) + if (status->getStatus() & IStatus::FB_HAS_ERRORS) { return AUTH_FAILED; } Modified: firebird/trunk/src/auth/SecurityDatabase/LegacyClient.cpp =================================================================== --- firebird/trunk/src/auth/SecurityDatabase/LegacyClient.cpp 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/src/auth/SecurityDatabase/LegacyClient.cpp 2014-08-27 09:24:30 UTC (rev 60002) @@ -46,7 +46,7 @@ TEXT pwt[Auth::MAX_LEGACY_PASSWORD_LENGTH + 2]; ENC_crypt(pwt, sizeof pwt, cb->getPassword(), Auth::LEGACY_PASSWORD_SALT); cb->putData(status, static_cast<unsigned>(strlen(&pwt[2])), &pwt[2]); - if (! status->isSuccess()) + if (status->getStatus() & Firebird::IStatus::FB_HAS_ERRORS) { return AUTH_FAILED; } Modified: firebird/trunk/src/auth/SecurityDatabase/LegacyManagement.epp =================================================================== --- firebird/trunk/src/auth/SecurityDatabase/LegacyManagement.epp 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/src/auth/SecurityDatabase/LegacyManagement.epp 2014-08-27 09:24:30 UTC (rev 60002) @@ -135,8 +135,8 @@ Firebird::ClumpletWriter dpb(Firebird::ClumpletReader::dpbList, MAX_DPB_SIZE); dpb.insertByte(isc_dpb_sec_attach, TRUE); - const unsigned char* authBlock; - unsigned int authBlockSize = logonInfo->authBlock(&authBlock); + unsigned int authBlockSize; + const unsigned char* authBlock = logonInfo->authBlock(&authBlockSize); if (authBlockSize) dpb.insertBytes(isc_dpb_auth_block, authBlock, authBlockSize); @@ -747,7 +747,7 @@ } } - st->set(isc_status); + fb_utils::setIStatus(st, isc_status); } catch (const Firebird::Exception& ex) { Modified: firebird/trunk/src/auth/SecurityDatabase/LegacyServer.cpp =================================================================== --- firebird/trunk/src/auth/SecurityDatabase/LegacyServer.cpp 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/src/auth/SecurityDatabase/LegacyServer.cpp 2014-08-27 09:24:30 UTC (rev 60002) @@ -509,7 +509,7 @@ #ifdef USE_ATT_RQ_CACHE LocalStatus s; TimerInterfacePtr()->start(&s, instance, 10 * 1000 * 1000); - if (!s.isSuccess()) + if (s.getStatus() & IStatus::FB_HAS_ERRORS) instance->handler(); #else instance->handler(); Modified: firebird/trunk/src/common/BigInteger.cpp =================================================================== --- firebird/trunk/src/common/BigInteger.cpp 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/src/common/BigInteger.cpp 2014-08-27 09:24:30 UTC (rev 60002) @@ -33,6 +33,7 @@ #include "../common/BigInteger.h" #include "../common/os/guid.h" +#include "../common/StatusArg.h" #define CHECK_MP(a) check(a, #a) Modified: firebird/trunk/src/common/CsConvert.h =================================================================== --- firebird/trunk/src/common/CsConvert.h 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/src/common/CsConvert.h 2014-08-27 09:24:30 UTC (rev 60002) @@ -32,6 +32,7 @@ #include "iberror.h" #include "../common/classes/array.h" +#include "../common/StatusArg.h" namespace Jrd { Modified: firebird/trunk/src/common/MsgMetadata.h =================================================================== --- firebird/trunk/src/common/MsgMetadata.h 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/src/common/MsgMetadata.h 2014-08-27 09:24:30 UTC (rev 60002) @@ -267,8 +267,8 @@ private: void raiseIndexError(IStatus* status, unsigned index, const char* method) const { - status->set((Arg::Gds(isc_invalid_index_val) << - Arg::Num(index) << (string("IMessageMetadata::") + method)).value()); + (Arg::Gds(isc_invalid_index_val) << + Arg::Num(index) << (string("IMessageMetadata::") + method)).copyTo(status); } void assign(IMessageMetadata* from); Modified: firebird/trunk/src/common/StatusArg.cpp =================================================================== --- firebird/trunk/src/common/StatusArg.cpp 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/src/common/StatusArg.cpp 2014-08-27 09:24:30 UTC (rev 60002) @@ -53,7 +53,7 @@ namespace Arg { -Base::Base(ISC_STATUS k, ISC_STATUS c) : +Base::Base(ISC_STATUS k, ISC_STATUS c) throw(Firebird::BadAlloc) : implementation(FB_NEW(*getDefaultMemoryPool()) ImplBase(k, c)) { } @@ -70,18 +70,36 @@ } } -StatusVector::StatusVector(ISC_STATUS k, ISC_STATUS c) : +StatusVector::ImplStatusVector::ImplStatusVector(const IStatus* s) throw() : Base::ImplBase(0, 0) +{ + fb_assert(s); + + clear(); + // special case - empty IStatus + if (s->getStatus() != 0) + { + append(s->getErrors(), FB_NELEM(m_status_vector) - 1); + append(s->getWarnings(), FB_NELEM(m_status_vector) - 1); + } +} + +StatusVector::StatusVector(ISC_STATUS k, ISC_STATUS c) throw(Firebird::BadAlloc) : Base(FB_NEW(*getDefaultMemoryPool()) ImplStatusVector(k, c)) { operator<<(*(static_cast<Base*>(this))); } -StatusVector::StatusVector(const ISC_STATUS* s) : +StatusVector::StatusVector(const ISC_STATUS* s) throw(Firebird::BadAlloc) : Base(FB_NEW(*getDefaultMemoryPool()) ImplStatusVector(s)) { } -StatusVector::StatusVector() : +StatusVector::StatusVector(const IStatus* s) throw(Firebird::BadAlloc) : + Base(FB_NEW(*getDefaultMemoryPool()) ImplStatusVector(s)) +{ +} + +StatusVector::StatusVector() throw(Firebird::BadAlloc) : Base(FB_NEW(*getDefaultMemoryPool()) ImplStatusVector(0, 0)) { } @@ -150,6 +168,19 @@ fb_utils::copyStatus(&m_status_vector[m_length], FB_NELEM(m_status_vector) - m_length, from, count); m_length += copied; + if (!m_warning) + { + for (unsigned n = 0; n < m_length; ) + { + if (m_status_vector[n] == isc_arg_warning) + { + m_warning = n; + break; + } + n += (m_status_vector[n] == isc_arg_cstring) ? 3 : 2; + } + } + return copied == count; } @@ -212,16 +243,23 @@ ISC_STATUS StatusVector::ImplStatusVector::copyTo(IStatus* dest) const throw() { + dest->init(); if (hasData()) { - dest->set(length() + 1u, value()); + const ISC_STATUS* v = m_status_vector; + unsigned int length = m_length; + unsigned int warning = m_warning; + + if (v[warning] == isc_arg_warning) + { + dest->setWarnings(length - warning, &v[warning]); + if (warning) + dest->setErrors(warning, v); + } + else + dest->setErrors(length, v); } - else - { - ISC_STATUS t[3] = {isc_arg_gds, FB_SUCCESS, isc_arg_end}; - dest->set(3, t); - } - return dest->get()[1]; + return m_status_vector[1]; } Gds::Gds(ISC_STATUS s) throw() : Modified: firebird/trunk/src/common/StatusArg.h =================================================================== --- firebird/trunk/src/common/StatusArg.h 2014-08-27 01:23:06 UTC (rev 60001) +++ firebird/trunk/src/common/StatusArg.h 2014-08-27 09:24:30 UTC (rev 60002) @@ -29,6 +29,8 @@ #ifndef FB_STATUS_ARG #define FB_STATUS_ARG +#include "fb_exception.h" + namespace Firebird { class IStatus; @@ -82,9 +84,9 @@ virtual ~ImplBase() { } }; - Base(ISC_STATUS k, ISC_STATUS c);// : implementation(new ImplBase(k, c)) { } + Base(ISC_STATUS k, ISC_STATUS c) throw(Firebird::BadAlloc); explicit Base(ImplBase* i) throw() : implementation(i) { } - ~Base() { delete implementation; } + ~Base() throw() { delete implementation; } ImplBase* const implementation; @@ -130,13 +132,15 @@ } explicit ImplStatusVector(const ISC_STATUS* s) throw(); + explicit ImplStatusVector(const IStatus* s) throw(); }; - StatusVector(ISC_STATUS k, ISC_STATUS v); + StatusVector(ISC_STATUS k, ISC_STATUS v) throw(Firebird::BadAlloc); public: - explicit StatusVector(const ISC_STATUS* s); - StatusVector(); + explicit StatusVector(const ISC_STATUS* s) throw(Firebird::BadAlloc); + explicit StatusVector(const IStatus* s) throw(Firebird::BadAlloc); + StatusVector() throw(Firebird::BadAlloc); ~StatusVector() { } const ISC_STATUS* value() const throw() { return implementation->value(); } Modified: firebird/trunk/src/common/StatusHolder.cpp ======================================... [truncated message content] |
From: <fir...@us...> - 2014-08-28 01:25:44
|
Revision: 60006 http://sourceforge.net/p/firebird/code/60006 Author: firebirds Date: 2014-08-28 01:25:36 +0000 (Thu, 28 Aug 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-08-27 14:51:51 UTC (rev 60005) +++ firebird/trunk/ChangeLog 2014-08-28 01:25:36 UTC (rev 60006) @@ -1,3 +1,111 @@ + 2014-08-27 14:51 dimitr + M src/include/gen/ids.h + M src/jrd/Monitoring.cpp + M src/jrd/RuntimeStatistics.h + M src/jrd/names.h + M src/jrd/relations.h + M src/jrd/vio.cpp +Added counter for record refetches (aka repeated reads). + + 2014-08-27 13:32 dimitr + M src/common/classes/alloc.cpp +Misc. + + 2014-08-27 12:56 dimitr + M src/include/gen/codetext.h + M src/include/gen/iberror.h + M src/include/gen/msgs.h + M src/include/gen/sql_code.h + M src/include/gen/sql_state.h + M src/jrd/vio.cpp + M src/msgs/facilities2.sql + M src/msgs/messages2.sql + M src/msgs/system_errors2.sql +Added specific error code for read conflicts in RC NO_REC_VER mode. Added missing conflict counting. + + 2014-08-27 09:24 alexpeshkoff + M examples/dbcrypt/CryptKeyHolder.cpp + M examples/dbcrypt/DbCrypt.cpp + M examples/interfaces/01.create.cpp + M examples/interfaces/02.update.cpp + M examples/interfaces/03.select.cpp + M examples/interfaces/04.print_table.cpp + M examples/udr/UdrCppExample.cpp + M src/auth/AuthDbg.cpp + M src/auth/SecureRemotePassword/Message.h + M src/auth/SecureRemotePassword/client/SrpClient.cpp + M src/auth/SecureRemotePassword/manage/SrpManagement.cpp + M src/auth/SecureRemotePassword/server/SrpServer.cpp + M src/auth/SecurityDatabase/LegacyClient.cpp + M src/auth/SecurityDatabase/LegacyManagement.epp + M src/auth/SecurityDatabase/LegacyServer.cpp + M src/common/BigInteger.cpp + M src/common/CsConvert.h + M src/common/MsgMetadata.h + M src/common/StatusArg.cpp + M src/common/StatusArg.h + M src/common/StatusHolder.cpp + M src/common/StatusHolder.h + M src/common/UtilSvc.cpp + M src/common/call_service.cpp + M src/common/classes/BlrReader.h + M src/common/classes/ImplementHelper.h + M src/common/cvt.cpp + M src/common/db_alias.cpp + M src/common/dsc.cpp + M src/common/fb_exception.cpp + M src/common/isc.cpp + M src/common/isc_proto.h + M src/common/os/os_utils.h + M src/common/unicode_util.cpp + M src/common/utils.cpp + M src/common/utils_proto.h + M src/dsql/DdlNodes.epp + M src/dsql/dsql.cpp + M src/gpre/obj_cxx.cpp + M src/include/fb_exception.h + M src/include/fb_types.h + M src/include/firebird/Auth.h + M src/include/firebird/Interface.h + M src/include/firebird/Provider.h + M src/include/firebird/UdrCppEngine.h + M src/isql/extract.epp + M src/isql/isql.epp + M src/isql/show.epp + M src/jrd/CryptoManager.cpp + M src/jrd/Database.cpp + M src/jrd/EngineInterface.h + M src/jrd/Mapping.cpp + M src/jrd/UserManagement.cpp + M src/jrd/extds/ExtDS.cpp + M src/jrd/extds/InternalDS.cpp + M src/jrd/jrd.cpp + M src/jrd/jrd.h + M src/jrd/tra.cpp + M src/jrd/trace/TraceManager.cpp + M src/plugins/udr_engine/UdrEngine.cpp + M src/remote/client/interface.cpp + M src/remote/inet.cpp + M src/remote/remote.cpp + M src/remote/remote.h + M src/remote/server/server.cpp + M src/utilities/fbsvcmgr/fbsvcmgr.cpp + M src/utilities/gsec/gsec.cpp + M src/yvalve/DistributedTransaction.cpp + M src/yvalve/PluginManager.cpp + M src/yvalve/YObjects.h + M src/yvalve/perf.cpp + M src/yvalve/preparse.cpp + M src/yvalve/utl.cpp + M src/yvalve/why.cpp +Divide IStatus information into 3 parts: errors, warnings and completion code. +Errors and warnings are processed in IStatus independently. Completion code +is moved away from IStatus and returned directly by appropriate functions. +Replaced isSuccess() with more generic function getStatus(), which sets +appropriate bits in returned value when errors/warnings are present. +Also use same style when returning bytes' array and it's length in different +interfaces. + 2014-08-26 14:16 dimitr M src/common/ThreadStart.h Quick fix for the Windows build. Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-08-27 14:51:51 UTC (rev 60005) +++ firebird/trunk/src/jrd/build_no.h 2014-08-28 01:25:36 UTC (rev 60006) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31305 + FORMAL BUILD NUMBER:31309 */ -#define PRODUCT_VER_STRING "3.0.0.31305" -#define FILE_VER_STRING "WI-T3.0.0.31305" -#define LICENSE_VER_STRING "WI-T3.0.0.31305" -#define FILE_VER_NUMBER 3, 0, 0, 31305 +#define PRODUCT_VER_STRING "3.0.0.31309" +#define FILE_VER_STRING "WI-T3.0.0.31309" +#define LICENSE_VER_STRING "WI-T3.0.0.31309" +#define FILE_VER_NUMBER 3, 0, 0, 31309 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31305" +#define FB_BUILD_NO "31309" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-08-27 14:51:51 UTC (rev 60005) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-08-28 01:25:36 UTC (rev 60006) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31305 +BuildNum=31309 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-08-29 01:30:25
|
Revision: 60015 http://sourceforge.net/p/firebird/code/60015 Author: firebirds Date: 2014-08-29 01:30:21 +0000 (Fri, 29 Aug 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-08-28 15:53:43 UTC (rev 60014) +++ firebird/trunk/ChangeLog 2014-08-29 01:30:21 UTC (rev 60015) @@ -1,3 +1,53 @@ + 2014-08-28 15:53 dimitr + M src/dsql/StmtNodes.cpp + M src/jrd/recsrc/RecordSource.cpp + M src/jrd/vio.cpp + M src/jrd/vio_proto.h +Minor refactoring. + + 2014-08-28 15:34 dimitr + M src/jrd/recsrc/RecordSource.cpp +Fixed missing encounting for record refetches. + + 2014-08-28 15:16 dimitr + M src/include/gen/ids.h + M src/jrd/Monitoring.cpp + M src/jrd/RuntimeStatistics.h + M src/jrd/names.h + M src/jrd/relations.h + M src/jrd/vio.cpp +Minor adjustments to the performance counters. Work in progress. + + 2014-08-28 12:19 roman-simakov + M src/dsql/DdlNodes.epp + M src/include/gen/ids.h + M src/isql/show.epp + M src/jrd/grant.epp + M src/jrd/irq.h + M src/jrd/relations.h +Fixed CORE-4522 - DDL permission do not protect +against removal BLOB filters. Owner was added to RDB$FILTERS. ODS is changed. +Fixed bug when one DDL privilege could be shown several times. +Removed unneccesary check of locksmith in alter database. + + 2014-08-28 09:30 alexpeshkoff + M src/auth/SecurityDatabase/LegacyServer.cpp + M src/remote/server/server.cpp +Minor debug enhancement + + 2014-08-28 09:02 alexpeshkoff + M src/common/utils.cpp +Fixed merge of IStatus into old status vector format - thanks to Pavel + + 2014-08-28 08:55 alexpeshkoff + M src/jrd/obj.h +Added missing name + + 2014-08-28 07:27 alexpeshkoff + M lang_helpers/gds_codes.ftn + M lang_helpers/gds_codes.pas +misc + 2014-08-27 14:51 dimitr M src/include/gen/ids.h M src/jrd/Monitoring.cpp Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-08-28 15:53:43 UTC (rev 60014) +++ firebird/trunk/src/jrd/build_no.h 2014-08-29 01:30:21 UTC (rev 60015) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31309 + FORMAL BUILD NUMBER:31317 */ -#define PRODUCT_VER_STRING "3.0.0.31309" -#define FILE_VER_STRING "WI-T3.0.0.31309" -#define LICENSE_VER_STRING "WI-T3.0.0.31309" -#define FILE_VER_NUMBER 3, 0, 0, 31309 +#define PRODUCT_VER_STRING "3.0.0.31317" +#define FILE_VER_STRING "WI-T3.0.0.31317" +#define LICENSE_VER_STRING "WI-T3.0.0.31317" +#define FILE_VER_NUMBER 3, 0, 0, 31317 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31309" +#define FB_BUILD_NO "31317" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-08-28 15:53:43 UTC (rev 60014) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-08-29 01:30:21 UTC (rev 60015) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31309 +BuildNum=31317 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-08-30 01:29:53
|
Revision: 60018 http://sourceforge.net/p/firebird/code/60018 Author: firebirds Date: 2014-08-30 01:29:50 +0000 (Sat, 30 Aug 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-08-29 11:15:50 UTC (rev 60017) +++ firebird/trunk/ChangeLog 2014-08-30 01:29:50 UTC (rev 60018) @@ -1,3 +1,11 @@ + 2014-08-29 11:15 roman-simakov + M src/dsql/parse.y +Removed ANY keyword in DDL REVOKE permission statements for DATABASE + + 2014-08-29 09:05 roman-simakov + M src/dsql/parse.y +Removed ANY keyword in DDL permission statements for DATABASE + 2014-08-28 15:53 dimitr M src/dsql/StmtNodes.cpp M src/jrd/recsrc/RecordSource.cpp Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-08-29 11:15:50 UTC (rev 60017) +++ firebird/trunk/src/jrd/build_no.h 2014-08-30 01:29:50 UTC (rev 60018) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31317 + FORMAL BUILD NUMBER:31319 */ -#define PRODUCT_VER_STRING "3.0.0.31317" -#define FILE_VER_STRING "WI-T3.0.0.31317" -#define LICENSE_VER_STRING "WI-T3.0.0.31317" -#define FILE_VER_NUMBER 3, 0, 0, 31317 +#define PRODUCT_VER_STRING "3.0.0.31319" +#define FILE_VER_STRING "WI-T3.0.0.31319" +#define LICENSE_VER_STRING "WI-T3.0.0.31319" +#define FILE_VER_NUMBER 3, 0, 0, 31319 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31317" +#define FB_BUILD_NO "31319" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-08-29 11:15:50 UTC (rev 60017) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-08-30 01:29:50 UTC (rev 60018) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31317 +BuildNum=31319 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-09-02 01:21:56
|
Revision: 60023 http://sourceforge.net/p/firebird/code/60023 Author: firebirds Date: 2014-09-02 01:21:47 +0000 (Tue, 02 Sep 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-09-01 13:22:55 UTC (rev 60022) +++ firebird/trunk/ChangeLog 2014-09-02 01:21:47 UTC (rev 60023) @@ -1,3 +1,25 @@ + 2014-09-01 13:22 dimitr + M src/jrd/Database.cpp +Correction. + + 2014-09-01 13:19 dimitr + M src/jrd/Database.cpp + M src/jrd/Database.h + M src/jrd/Monitoring.cpp + M src/jrd/cch.cpp + M src/jrd/cch_proto.h + M src/jrd/jrd.cpp + M src/jrd/lck.cpp +Refactored the shared cache checks. Optimized the shared counter for SS. + + 2014-09-01 09:44 alexpeshkoff + M src/jrd/Mapping.cpp +Misc + + 2014-09-01 08:29 dimitr + M src/jrd/vio.cpp +Count record reads performed by the IDX code. + 2014-08-29 11:15 roman-simakov M src/dsql/parse.y Removed ANY keyword in DDL REVOKE permission statements for DATABASE Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-09-01 13:22:55 UTC (rev 60022) +++ firebird/trunk/src/jrd/build_no.h 2014-09-02 01:21:47 UTC (rev 60023) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31319 + FORMAL BUILD NUMBER:31323 */ -#define PRODUCT_VER_STRING "3.0.0.31319" -#define FILE_VER_STRING "WI-T3.0.0.31319" -#define LICENSE_VER_STRING "WI-T3.0.0.31319" -#define FILE_VER_NUMBER 3, 0, 0, 31319 +#define PRODUCT_VER_STRING "3.0.0.31323" +#define FILE_VER_STRING "WI-T3.0.0.31323" +#define LICENSE_VER_STRING "WI-T3.0.0.31323" +#define FILE_VER_NUMBER 3, 0, 0, 31323 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31319" +#define FB_BUILD_NO "31323" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-09-01 13:22:55 UTC (rev 60022) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-09-02 01:21:47 UTC (rev 60023) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31319 +BuildNum=31323 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ale...@us...> - 2014-09-02 16:55:25
|
Revision: 60025 http://sourceforge.net/p/firebird/code/60025 Author: alexpeshkoff Date: 2014-09-02 16:55:14 +0000 (Tue, 02 Sep 2014) Log Message: ----------- Implemented CORE-4538: Access rights for CREATE DATABASE operator Modified Paths: -------------- firebird/trunk/doc/sql.extensions/README.ddl_access.txt firebird/trunk/lang_helpers/gds_codes.ftn firebird/trunk/lang_helpers/gds_codes.pas firebird/trunk/src/dsql/DdlNodes.epp firebird/trunk/src/dsql/DdlNodes.h firebird/trunk/src/dsql/parse.y firebird/trunk/src/include/gen/codetext.h firebird/trunk/src/include/gen/iberror.h firebird/trunk/src/include/gen/ids.h firebird/trunk/src/include/gen/msgs.h firebird/trunk/src/include/gen/sql_code.h firebird/trunk/src/include/gen/sql_state.h firebird/trunk/src/isql/show.epp firebird/trunk/src/jrd/jrd.cpp firebird/trunk/src/jrd/names.h firebird/trunk/src/jrd/opt.cpp firebird/trunk/src/jrd/relations.h firebird/trunk/src/jrd/tra.cpp firebird/trunk/src/jrd/tra.h firebird/trunk/src/msgs/facilities2.sql firebird/trunk/src/msgs/messages2.sql firebird/trunk/src/msgs/system_errors2.sql Added Paths: ----------- firebird/trunk/src/jrd/DbCreators.cpp firebird/trunk/src/jrd/DbCreators.h Modified: firebird/trunk/doc/sql.extensions/README.ddl_access.txt =================================================================== --- firebird/trunk/doc/sql.extensions/README.ddl_access.txt 2014-09-02 06:29:44 UTC (rev 60024) +++ firebird/trunk/doc/sql.extensions/README.ddl_access.txt 2014-09-02 16:55:14 UTC (rev 60025) @@ -16,12 +16,12 @@ REVOKE [GRANT OPTION FOR] DROP ANY <OBJECT> FROM [USER | ROLE] <user/role name>; Where <OBJECT> could be: -TABLE, VIEW, PROCEDURE, FUNCTION, PACKAGE, GENERATOR, SEQUENCE, DOMAIN, -EXCEPTION, ROLE, DATABASE, CHARACTER SET, COLLATION, FILTER +TABLE, VIEW, PROCEDURE, FUNCTION, PACKAGE, GENERATOR, SEQUENCE, DOMAIN, +EXCEPTION, ROLE, CHARACTER SET, COLLATION, FILTER Description: -Makes it possible to grant and revoke privileges on DDL operations. +Makes it possible to grant and revoke privileges on DDL operations. DDL operations for managing triggers and indices re-use table privileges. @@ -31,5 +31,15 @@ Sample: GRANT CREATE TABLE TO Joe; -GRANT ALTER ANY TABLE TO Joe; +GRANT ALTER ANY TABLE TO Joe; REVOKE CREATE TABLE FROM Joe; + +For database access special form is supported: + +GRANT CREATE DATABASE TO [USER | ROLE] <user/role name>; +GRANT ALTER DATABASE TO [USER | ROLE] <user/role name> [WITH GRANT OPTION]; +GRANT DROP DATABASE TO [USER | ROLE] <user/role name> [WITH GRANT OPTION]; + +REVOKE CREATE DATABASE FROM [USER | ROLE] <user/role name>; +REVOKE [GRANT OPTION FOR] ALTER DATABASE FROM [USER | ROLE] <user/role name>; +REVOKE [GRANT OPTION FOR] DROP DATABASE FROM [USER | ROLE] <user/role name>; Modified: firebird/trunk/lang_helpers/gds_codes.ftn =================================================================== --- firebird/trunk/lang_helpers/gds_codes.ftn 2014-09-02 06:29:44 UTC (rev 60024) +++ firebird/trunk/lang_helpers/gds_codes.ftn 2014-09-02 16:55:14 UTC (rev 60025) @@ -1604,6 +1604,12 @@ PARAMETER (GDS__dsql_cant_grant_option = 335545095) INTEGER*4 GDS__read_conflict PARAMETER (GDS__read_conflict = 335545096) + INTEGER*4 GDS__crdb_load + PARAMETER (GDS__crdb_load = 335545097) + INTEGER*4 GDS__crdb_nodb + PARAMETER (GDS__crdb_nodb = 335545098) + INTEGER*4 GDS__crdb_notable + PARAMETER (GDS__crdb_notable = 335545099) INTEGER*4 GDS__gfix_db_name PARAMETER (GDS__gfix_db_name = 335740929) INTEGER*4 GDS__gfix_invalid_sw Modified: firebird/trunk/lang_helpers/gds_codes.pas =================================================================== --- firebird/trunk/lang_helpers/gds_codes.pas 2014-09-02 06:29:44 UTC (rev 60024) +++ firebird/trunk/lang_helpers/gds_codes.pas 2014-09-02 16:55:14 UTC (rev 60025) @@ -809,6 +809,9 @@ gds_dyn_no_priv = 335545094; gds_dsql_cant_grant_option = 335545095; gds_read_conflict = 335545096; + gds_crdb_load = 335545097; + gds_crdb_nodb = 335545098; + gds_crdb_notable = 335545099; gds_gfix_db_name = 335740929; gds_gfix_invalid_sw = 335740930; gds_gfix_incmp_sw = 335740932; Modified: firebird/trunk/src/dsql/DdlNodes.epp =================================================================== --- firebird/trunk/src/dsql/DdlNodes.epp 2014-09-02 06:29:44 UTC (rev 60024) +++ firebird/trunk/src/dsql/DdlNodes.epp 2014-09-02 16:55:14 UTC (rev 60025) @@ -115,7 +115,61 @@ //---------------------- +void ExecInSecurityDb::executeInSecurityDb(jrd_tra* localTransaction) +{ + LocalStatus st; + SecDbContext* secDbContext = localTransaction->getSecDbContext(); + if (!secDbContext) + { + Attachment* lAtt = localTransaction->getAttachment(); + const char* secDb = lAtt->att_database->dbb_config->getSecurityDatabase(); + ClumpletWriter dpb(ClumpletWriter::WideTagged, MAX_DPB_SIZE, isc_dpb_version2); + if (lAtt->att_user) + lAtt->att_user->populateDpb(dpb); + IAttachment* att = DispatcherPtr()->attachDatabase(&st, secDb, + dpb.getBufferLength(), dpb.getBuffer()); + check(&st); + + ITransaction* tra = att->startTransaction(&st, 0, NULL); + check(&st); + + secDbContext = localTransaction->setSecDbContext(att, tra); + } + + // run all statements under savepoint control + string savePoint; + savePoint.printf("ExecInSecurityDb%d", secDbContext->savePoint++); + secDbContext->att->execute(&st, secDbContext->tra, 0, ("SAVEPOINT " + savePoint).c_str(), + SQL_DIALECT_V6, NULL, NULL, NULL, NULL); + check(&st); + + try + { + runInSecurityDb(secDbContext); + + secDbContext->att->execute(&st, secDbContext->tra, 0, ("RELEASE SAVEPOINT " + savePoint).c_str(), + SQL_DIALECT_V6, NULL, NULL, NULL, NULL); + savePoint.erase(); + check(&st); + } + catch (const Exception&) + { + if (savePoint.hasData()) + { + LocalStatus tmp; + secDbContext->att->execute(&tmp, secDbContext->tra, 0, ("ROLLBACK TO SAVEPOINT " + savePoint).c_str(), + SQL_DIALECT_V6, NULL, NULL, NULL, NULL); + } + + throw; + } +} + + +//---------------------- + + // Check temporary table reference rules between given child relation and master // relation (owner of given PK/UK index). static void checkForeignKeyTempScope(thread_db* tdbb, jrd_tra* transaction, @@ -9662,243 +9716,213 @@ return false; } -// It's purpose is to add/drop mapping from any security name to DB security object. -void MappingNode::execute(thread_db* tdbb, DsqlCompilerScratch* dsqlScratch, jrd_tra* transaction) +void MappingNode::runInSecurityDb(SecDbContext* secDbContext) { - if (!(tdbb->getAttachment() && tdbb->getAttachment()->locksmith())) - status_exception::raise(Arg::Gds(isc_adm_task_denied)); + Firebird::LocalStatus st; + IStatus* s = &st; - if (global) + // first of all try to use regenerated DDL statement + // that's the best way if security database is FB3 or higher fb version + string ddl; + + switch(op) { - LocalStatus st; - LocalStatus s2; // we will use it in DDL case and remember - IStatus* s = &st; + case MAP_ADD: + ddl = "CREATE MAPPING "; + break; + case MAP_MOD: + ddl = "ALTER MAPPING "; + break; + case MAP_DROP: + ddl = "DROP MAPPING "; + break; + case MAP_RPL: + ddl = "CREATE OR ALTER MAPPING "; + break; + } - SecDbContext* secDbContext = transaction->getSecDbContext(); - if (!secDbContext) + addItem(ddl, name.c_str()); + if (op != MAP_DROP) + { + ddl += " USING "; + switch (mode) { - const char* secDb = tdbb->getDatabase()->dbb_config->getSecurityDatabase(); - ClumpletWriter dpb(ClumpletWriter::WideTagged, MAX_DPB_SIZE, isc_dpb_version2); - if (tdbb->getAttachment()->att_user) - tdbb->getAttachment()->att_user->populateDpb(dpb); - IAttachment* att = DispatcherPtr()->attachDatabase(s, secDb, - dpb.getBufferLength(), dpb.getBuffer()); - check(s); + case 'P': + if (!plugin) + ddl += "ANY PLUGIN "; + else + { + ddl += "PLUGIN "; + addItem(ddl, plugin->c_str()); + ddl += ' '; + } + break; + case 'S': + ddl += "ANY PLUGIN SERVERWIDE "; + break; + case '*': + ddl += "* "; + break; + case 'M': + ddl += "MAPPING "; + break; + } - ITransaction* tra = att->startTransaction(s, 0, NULL); - check(s); + if (db) + { + ddl += "IN "; + addItem(ddl, db->c_str()); + ddl += ' '; + } - secDbContext = transaction->setSecDbContext(att, tra); + if (fromType) + { + ddl += "FROM "; + if (!from) + ddl += "ANY "; + addItem(ddl, fromType->c_str()); + ddl += ' '; + if (from) + { + addItem(ddl, from->getString().c_str()); + ddl += ' '; + } } - // run all statements under savepoint control - string savePoint; - savePoint.printf("GLOBALMAP%d", secDbContext->savePoint++); - secDbContext->att->execute(s, secDbContext->tra, 0, ("SAVEPOINT " + savePoint).c_str(), - SQL_DIALECT_V6, NULL, NULL, NULL, NULL); - check(s); + ddl += "TO "; + ddl += (role ? "ROLE" : "USER"); + if (to) + { + ddl += ' '; + addItem(ddl, to->c_str()); + } + } + // Now try to run DDL + secDbContext->att->execute(s, secDbContext->tra, 0, ddl.c_str(), SQL_DIALECT_V6, + NULL, NULL, NULL, NULL); + + if (s->getStatus() & IStatus::FB_HAS_ERRORS) + { try { - // first of all try to use regenerated DDL statement - // that's the best way if security database is FB3 or higher fb version - string ddl; + // try direct access to rdb$auth_mapping table in secure db + LocalStatus s2; + s = &s2; + // check presence of such record in the table + Message msgCheck; + Field<Varying> nm(msgCheck, 1); + nm = name.c_str(); + + Message result; + Field<ISC_INT64> cnt(result); + + const char* checkSql = "select count(*) from RDB$AUTH_MAPPING where RDB$MAP_NAME = ?"; + + secDbContext->att->execute(s, secDbContext->tra, 0, checkSql, SQL_DIALECT_V6, + msgCheck.getMetadata(), msgCheck.getBuffer(), result.getMetadata(), result.getBuffer()); + check(s); + + if (cnt > 1 && op != MAP_DROP) + ERRD_bugcheck("Database mapping misconfigured"); + + bool hasLine = cnt > 0; switch(op) { case MAP_ADD: - ddl = "CREATE MAPPING "; + if (hasLine) + (Arg::Gds(isc_map_already_exists) << name).raise(); break; + case MAP_MOD: - ddl = "ALTER MAPPING "; - break; case MAP_DROP: - ddl = "DROP MAPPING "; + if (!hasLine) + (Arg::Gds(isc_map_not_exists) << name).raise(); break; + case MAP_RPL: - ddl = "CREATE OR ALTER MAPPING "; + op = hasLine ? MAP_MOD : MAP_DROP; break; } - addItem(ddl, name.c_str()); - if (op != MAP_DROP) - { - ddl += " USING "; - switch (mode) - { - case 'P': - if (!plugin) - ddl += "ANY PLUGIN "; - else - { - ddl += "PLUGIN "; - addItem(ddl, plugin->c_str()); - ddl += ' '; - } - break; - case 'S': - ddl += "ANY PLUGIN SERVERWIDE "; - break; - case '*': - ddl += "* "; - break; - case 'M': - ddl += "MAPPING "; - break; - } + // Get ready to modify table + Message full; + Field<ISC_SHORT> toType(full); + Field<Varying> t(full, MAX_SQL_IDENTIFIER_LEN); + Field<Varying> usng2(full, 1); + Field<Varying> plug2(full, MAX_SQL_IDENTIFIER_LEN); + Field<Varying> d2(full, MAX_SQL_IDENTIFIER_LEN); + Field<Varying> type2(full, MAX_SQL_IDENTIFIER_LEN); + Field<Varying> f2(full, 255); + Field<Varying> nm2(full, MAX_SQL_IDENTIFIER_LEN); - if (db) - { - ddl += "IN "; - addItem(ddl, db->c_str()); - ddl += ' '; - } + toType = role ? 1 : 0; + if (to) + t = to->c_str(); + usng2.set(1, &mode); + if (plugin) + plug2 = plugin->c_str(); + if (db) + d2 = db->c_str(); + if (fromType) + type2 = fromType->c_str(); + if (from) + f2 = from->getString().c_str(); + nm2 = name.c_str(); - if (fromType) - { - ddl += "FROM "; - if (!from) - ddl += "ANY "; - addItem(ddl, fromType->c_str()); - ddl += ' '; - if (from) - { - addItem(ddl, from->getString().c_str()); - ddl += ' '; - } - } - - ddl += "TO "; - ddl += (role ? "ROLE" : "USER"); - if (to) - { - ddl += ' '; - addItem(ddl, to->c_str()); - } + Message* msg = NULL; + const char* sql = NULL; + switch(op) + { + case MAP_ADD: + sql = "insert into RDB$AUTH_MAPPING(RDB$MAP_TO_TYPE, RDB$MAP_TO, RDB$MAP_USING, " + "RDB$MAP_PLUGIN, RDB$MAP_DB, RDB$MAP_FROM_TYPE, RDB$MAP_FROM, RDB$MAP_NAME) " + "values (?, ?, ?, ?, ?, ?, ?, ?)"; + msg = &full; + break; + case MAP_MOD: + sql = "update RDB$AUTH_MAPPING set RDB$MAP_TO_TYPE = ?, RDB$MAP_TO = ?, " + "RDB$MAP_USING = ?, RDB$MAP_PLUGIN = ?, RDB$MAP_DB = ?, " + "RDB$MAP_FROM_TYPE = ?, RDB$MAP_FROM = ? " + "where RDB$MAP_NAME = ?"; + msg = &full; + break; + case MAP_DROP: + sql = "delete from RDBAUTH_MAPPING where RDB$MAP_NAME = ?"; + msg = &msgCheck; + break; } - // Now try to run DDL - secDbContext->att->execute(&s2, secDbContext->tra, 0, ddl.c_str(), SQL_DIALECT_V6, - NULL, NULL, NULL, NULL); - - if (s2.getStatus() & IStatus::FB_HAS_ERRORS) - { - // try direct access to rdb$auth_mapping table in secure db - - // check presence of such record in the table - Message msgCheck; - Field<Varying> nm(msgCheck, 1); - nm = name.c_str(); - - Message result; - Field<ISC_INT64> cnt(result); - - const char* checkSql = "select count(*) from RDB$AUTH_MAPPING where RDB$MAP_NAME = ?"; - - secDbContext->att->execute(s, secDbContext->tra, 0, checkSql, SQL_DIALECT_V6, - msgCheck.getMetadata(), msgCheck.getBuffer(), result.getMetadata(), result.getBuffer()); - check(s); - - if (cnt > 1 && op != MAP_DROP) - ERRD_bugcheck("Database mapping misconfigured"); - - bool hasLine = cnt > 0; - switch(op) - { - case MAP_ADD: - if (hasLine) - (Arg::Gds(isc_map_already_exists) << name).raise(); - break; - - case MAP_MOD: - case MAP_DROP: - if (!hasLine) - (Arg::Gds(isc_map_not_exists) << name).raise(); - break; - - case MAP_RPL: - op = hasLine ? MAP_MOD : MAP_DROP; - break; - } - - // Get ready to modify table - Message full; - Field<ISC_SHORT> toType(full); - Field<Varying> t(full, MAX_SQL_IDENTIFIER_LEN); - Field<Varying> usng2(full, 1); - Field<Varying> plug2(full, MAX_SQL_IDENTIFIER_LEN); - Field<Varying> d2(full, MAX_SQL_IDENTIFIER_LEN); - Field<Varying> type2(full, MAX_SQL_IDENTIFIER_LEN); - Field<Varying> f2(full, 255); - Field<Varying> nm2(full, MAX_SQL_IDENTIFIER_LEN); - - toType = role ? 1 : 0; - if (to) - t = to->c_str(); - usng2.set(1, &mode); - if (plugin) - plug2 = plugin->c_str(); - if (db) - d2 = db->c_str(); - if (fromType) - type2 = fromType->c_str(); - if (from) - f2 = from->getString().c_str(); - nm2 = name.c_str(); - - Message* msg = NULL; - const char* sql = NULL; - switch(op) - { - case MAP_ADD: - sql = "insert into RDB$AUTH_MAPPING(RDB$MAP_TO_TYPE, RDB$MAP_TO, RDB$MAP_USING, " - "RDB$MAP_PLUGIN, RDB$MAP_DB, RDB$MAP_FROM_TYPE, RDB$MAP_FROM, RDB$MAP_NAME) " - "values (?, ?, ?, ?, ?, ?, ?, ?)"; - msg = &full; - break; - case MAP_MOD: - sql = "update RDB$AUTH_MAPPING set RDB$MAP_TO_TYPE = ?, RDB$MAP_TO = ?, " - "RDB$MAP_USING = ?, RDB$MAP_PLUGIN = ?, RDB$MAP_DB = ?, " - "RDB$MAP_FROM_TYPE = ?, RDB$MAP_FROM = ? " - "where RDB$MAP_NAME = ?"; - msg = &full; - break; - case MAP_DROP: - sql = "delete from RDBAUTH_MAPPING where RDB$MAP_NAME = ?"; - msg = &msgCheck; - break; - } - - // Actual modification - fb_assert(sql && msg); - secDbContext->att->execute(s, secDbContext->tra, 0, sql, SQL_DIALECT_V6, - msg->getMetadata(), msg->getBuffer(), NULL, NULL); - check(s); - - secDbContext->att->execute(s, secDbContext->tra, 0, ("RELEASE SAVEPOINT " + savePoint).c_str(), - SQL_DIALECT_V6, NULL, NULL, NULL, NULL); - savePoint.erase(); - check(s); - } + // Actual modification + fb_assert(sql && msg); + secDbContext->att->execute(s, secDbContext->tra, 0, sql, SQL_DIALECT_V6, + msg->getMetadata(), msg->getBuffer(), NULL, NULL); + check(s); } - catch (const Exception&) + catch(const Exception& ex) { - if (savePoint.hasData()) + if (st.getStatus() & IStatus::FB_HAS_ERRORS) { - secDbContext->att->execute(s, secDbContext->tra, 0, ("ROLLBACK TO SAVEPOINT " + savePoint).c_str(), - SQL_DIALECT_V6, NULL, NULL, NULL, NULL); - } - - if (s2.getStatus() & IStatus::FB_HAS_ERRORS) - { - const ISC_STATUS* stat2 = s2.getErrors(); + const ISC_STATUS* stat2 = st.getErrors(); if (stat2[1] != isc_dsql_token_unk_err) - status_exception::raise(&s2); + status_exception::raise(&st); } throw; } + } +} +// It's purpose is to add/drop mapping from any security name to DB security object. +void MappingNode::execute(thread_db* tdbb, DsqlCompilerScratch* dsqlScratch, jrd_tra* transaction) +{ + if (!(tdbb->getAttachment() && tdbb->getAttachment()->locksmith())) + status_exception::raise(Arg::Gds(isc_adm_task_denied)); + + if (global) + { + executeInSecurityDb(transaction); return; } @@ -10319,6 +10343,8 @@ // run all statements under savepoint control AutoSavePoint savePoint(tdbb, transaction); + createDbJobs.clear(); + const GranteeClause* usersPtr; const GranteeClause* usersEnd; @@ -10356,9 +10382,83 @@ } } + if (createDbJobs.hasData()) + executeInSecurityDb(transaction); + savePoint.release(); // everything is ok } +void GrantRevokeNode::runInSecurityDb(SecDbContext* secDbContext) +{ + for (unsigned n = 0; n < createDbJobs.getCount(); ++n) + { + CreateDbJob& j = createDbJobs[n]; + LocalStatus st; + IStatus* s = &st; + + Message gr; + Field<ISC_SHORT> uType(gr); + Field<Varying> u(gr, MAX_SQL_IDENTIFIER_LEN); + uType = j.userType; + u = j.user.c_str(); + + Message result; + Field<ISC_INT64> cnt(result); + + const char* checkSql = "select count(*) from RDB$DB_CREATORS where RDB$USER_TYPE = ? and RDB$USER = ?"; + secDbContext->att->execute(s, secDbContext->tra, 0, checkSql, SQL_DIALECT_V6, + gr.getMetadata(), gr.getBuffer(), result.getMetadata(), result.getBuffer()); + check(s); + + if (isGrant) + { + if (!cnt) + { + const char* insertSql = "insert into RDB$DB_CREATORS(RDB$USER_TYPE, RDB$USER) values(?, ?)"; + secDbContext->att->execute(s, secDbContext->tra, 0, insertSql, SQL_DIALECT_V6, + gr.getMetadata(), gr.getBuffer(), NULL, NULL); + check(s); + } + } + else + { + if (cnt) + { + const char* deleteSql = "delete from RDB$DB_CREATORS where RDB$USER_TYPE = ? and RDB$USER = ?"; + secDbContext->att->execute(s, secDbContext->tra, 0, deleteSql, SQL_DIALECT_V6, + gr.getMetadata(), gr.getBuffer(), NULL, NULL); + + j.grantErased = true; + } + + if (!j.grantErased) + { + if (j.allOnAll) + { + const char* all = "ALL"; + + if (j.badGrantor) + { + // msg 246: @1 is not grantor of @2 on @3 to @4. + (Arg::PrivateDyn(246) << j.revoker.c_str() << all << all << j.user).raise(); + } + + // msg 247: Warning: @1 on @2 is not granted to @3. + ERR_post_warning( + Arg::Warning(isc_dyn_miss_priv_warning) << + all << all << j.user); + } + else + { + // msg 247: Warning: @1 on @2 is not granted to @3. + ERR_post_warning(Arg::Warning(isc_dyn_miss_priv_warning) << + privilegeName('C') << "DATABASE" << j.user); + } + } + } + } +} + void GrantRevokeNode::modifyPrivileges(thread_db* tdbb, jrd_tra* transaction, SSHORT option, const GranteeClause* user) { @@ -10467,8 +10567,9 @@ if (!isGrant && !privs) // REVOKE ALL ON ALL { AutoCacheRequest request(tdbb, drq_e_grant3, DYN_REQUESTS); - bool grantErased = false; - bool badGrantor = false; + CreateDbJob all(userType, user); + all.allOnAll = true; + all.revoker = grantorRevoker; FOR(REQUEST_HANDLE request TRANSACTION_HANDLE transaction) PRIV IN RDB$USER_PRIVILEGES @@ -10478,30 +10579,15 @@ if (tdbb->getAttachment()->att_user->locksmith() || grantorRevoker == PRIV.RDB$GRANTOR) { ERASE PRIV; - grantErased = true; + all.grantErased = true; } else - badGrantor = true; + all.badGrantor = true; } END_FOR - const char* all = "ALL"; + createDbJobs.push(all); - if (badGrantor && !grantErased) - { - // msg 246: @1 is not grantor of @2 on @3 to @4. - status_exception::raise(Arg::PrivateDyn(246) << - grantorRevoker.c_str() << all << all << user.c_str()); - } - - if (!grantErased) - { - // msg 247: Warning: @1 on @2 is not granted to @3. - ERR_post_warning( - Arg::Warning(isc_dyn_miss_priv_warning) << - all << all << Arg::Str(user)); - } - return; } @@ -10527,6 +10613,30 @@ } } + if (objType == obj_database && strchr(privileges, 'C')) + { + if (options || grantor) + { + (Arg::Gds(isc_wish_list) << Arg::Gds(isc_random) << + "GRANT/ADMIN OPTION and GRANTED BY not supported for CREATE DATABASE grants").raise(); + } + + if (userType != obj_sql_role && userType != obj_user) + { + (Arg::Gds(isc_wish_list) << Arg::Gds(isc_random) << + "Only grants to USER or ROLE are supported for CREATE DATABASE").raise(); + } + + CreateDbJob job(userType, user); + createDbJobs.push(job); + + char* cPtr = strchr(privileges, 'C'); + size_t len = strlen(cPtr); + memmove(cPtr, cPtr + 1, len); + if (!privileges[0]) + return; + } + char priv[2]; priv[1] = '\0'; Modified: firebird/trunk/src/dsql/DdlNodes.h =================================================================== --- firebird/trunk/src/dsql/DdlNodes.h 2014-09-02 06:29:44 UTC (rev 60024) +++ firebird/trunk/src/dsql/DdlNodes.h 2014-09-02 16:55:14 UTC (rev 60025) @@ -41,8 +41,8 @@ class CompoundStmtNode; class RelationSourceNode; class ValueListNode; +class SecDbContext; - struct BoolSourceClause { explicit BoolSourceClause(MemoryPool& p) @@ -135,6 +135,18 @@ }; +class ExecInSecurityDb +{ +public: + virtual ~ExecInSecurityDb() { } + + void executeInSecurityDb(jrd_tra* tra); + +protected: + virtual void runInSecurityDb(SecDbContext* secDbContext) = 0; +}; + + template <typename CreateNode, typename DropNode, ISC_STATUS ERROR_CODE> class RecreateNode : public DdlNode { @@ -1802,7 +1814,7 @@ }; -class MappingNode : public DdlNode +class MappingNode : public DdlNode, private ExecInSecurityDb { public: enum OP {MAP_ADD, MAP_MOD, MAP_RPL, MAP_DROP}; @@ -1836,6 +1848,7 @@ (op == MAP_ADD ? "CREATE" : op == MAP_MOD ? "ALTER" : op == MAP_RPL ? "CREATE OR ALTER" : "DROP"); } + void runInSecurityDb(SecDbContext* secDbContext); private: void addItem(Firebird::string& ddl, const char* text); @@ -1974,11 +1987,12 @@ typedef Firebird::Pair<Firebird::NonPooled<char, ValueListNode*> > PrivilegeClause; typedef Firebird::Pair<Firebird::NonPooled<SSHORT, Firebird::MetaName> > GranteeClause; -class GrantRevokeNode : public DdlNode +class GrantRevokeNode : public DdlNode, private ExecInSecurityDb { public: GrantRevokeNode(MemoryPool& p, bool aIsGrant) : DdlNode(p), + createDbJobs(p), isGrant(aIsGrant), privileges(p), roles(p), @@ -2001,6 +2015,7 @@ statusVector << Firebird::Arg::Gds(isGrant ? isc_dsql_grant_failed : isc_dsql_revoke_failed); } + void runInSecurityDb(SecDbContext* secDbContext); private: void modifyPrivileges(thread_db* tdbb, jrd_tra* transaction, SSHORT option, const GranteeClause* user); @@ -2043,6 +2058,19 @@ return "<Unknown>"; } + struct CreateDbJob + { + CreateDbJob(SSHORT a_userType, const Firebird::MetaName& a_user) + : allOnAll(false), grantErased(false), badGrantor(false), + userType(a_userType), user(a_user) + { } + + bool allOnAll, grantErased, badGrantor; + SSHORT userType; + Firebird::MetaName user, revoker; + }; + Firebird::Array<CreateDbJob> createDbJobs; + public: bool isGrant; Firebird::Array<PrivilegeClause> privileges; Modified: firebird/trunk/src/dsql/parse.y =================================================================== --- firebird/trunk/src/dsql/parse.y 2014-09-02 06:29:44 UTC (rev 60024) +++ firebird/trunk/src/dsql/parse.y 2014-09-02 16:55:14 UTC (rev 60025) @@ -976,6 +976,7 @@ %type db_ddl_privilege(<privilegeArray>) db_ddl_privilege($privilegeArray) + | CREATE { $privilegeArray->add(PrivilegeClause('C', NULL)); } | ALTER { $privilegeArray->add(PrivilegeClause('L', NULL)); } | DROP { $privilegeArray->add(PrivilegeClause('O', NULL)); } ; Modified: firebird/trunk/src/include/gen/codetext.h =================================================================== --- firebird/trunk/src/include/gen/codetext.h 2014-09-02 06:29:44 UTC (rev 60024) +++ firebird/trunk/src/include/gen/codetext.h 2014-09-02 16:55:14 UTC (rev 60025) @@ -798,6 +798,9 @@ {"dyn_no_priv", 335545094}, {"dsql_cant_grant_option", 335545095}, {"read_conflict", 335545096}, + {"crdb_load", 335545097}, + {"crdb_nodb", 335545098}, + {"crdb_notable", 335545099}, {"gfix_db_name", 335740929}, {"gfix_invalid_sw", 335740930}, {"gfix_incmp_sw", 335740932}, Modified: firebird/trunk/src/include/gen/iberror.h =================================================================== --- firebird/trunk/src/include/gen/iberror.h 2014-09-02 06:29:44 UTC (rev 60024) +++ firebird/trunk/src/include/gen/iberror.h 2014-09-02 16:55:14 UTC (rev 60025) @@ -832,6 +832,9 @@ const ISC_STATUS isc_dyn_no_priv = 335545094L; const ISC_STATUS isc_dsql_cant_grant_option = 335545095L; const ISC_STATUS isc_read_conflict = 335545096L; +const ISC_STATUS isc_crdb_load = 335545097L; +const ISC_STATUS isc_crdb_nodb = 335545098L; +const ISC_STATUS isc_crdb_notable = 335545099L; const ISC_STATUS isc_gfix_db_name = 335740929L; const ISC_STATUS isc_gfix_invalid_sw = 335740930L; const ISC_STATUS isc_gfix_incmp_sw = 335740932L; @@ -1290,7 +1293,7 @@ const ISC_STATUS isc_trace_switch_param_miss = 337182758L; const ISC_STATUS isc_trace_param_act_notcompat = 337182759L; const ISC_STATUS isc_trace_mandatory_switch_miss = 337182760L; -const ISC_STATUS isc_err_max = 1234; +const ISC_STATUS isc_err_max = 1237; #else /* c definitions */ @@ -2092,6 +2095,9 @@ #define isc_dyn_no_priv 335545094L #define isc_dsql_cant_grant_option 335545095L #define isc_read_conflict 335545096L +#define isc_crdb_load 335545097L +#define isc_crdb_nodb 335545098L +#define isc_crdb_notable 335545099L #define isc_gfix_db_name 335740929L #define isc_gfix_invalid_sw 335740930L #define isc_gfix_incmp_sw 335740932L @@ -2550,7 +2556,7 @@ #define isc_trace_switch_param_miss 337182758L #define isc_trace_param_act_notcompat 337182759L #define isc_trace_mandatory_switch_miss 337182760L -#define isc_err_max 1234 +#define isc_err_max 1237 #endif Modified: firebird/trunk/src/include/gen/ids.h =================================================================== --- firebird/trunk/src/include/gen/ids.h 2014-09-02 06:29:44 UTC (rev 60024) +++ firebird/trunk/src/include/gen/ids.h 2014-09-02 16:55:14 UTC (rev 60025) @@ -660,3 +660,15 @@ const USHORT f_sec_map_to = 7; +// Relation 47 (RDB$DB_CREATORS) + + const USHORT f_crt_user = 0; + const USHORT f_crt_u_type = 1; + + +// Relation 48 (SEC$DB_CREATORS) + + const USHORT f_sec_crt_user = 0; + const USHORT f_sec_crt_u_type = 1; + + Modified: firebird/trunk/src/include/gen/msgs.h =================================================================== --- firebird/trunk/src/include/gen/msgs.h 2014-09-02 06:29:44 UTC (rev 60024) +++ firebird/trunk/src/include/gen/msgs.h 2014-09-02 16:55:14 UTC (rev 60025) @@ -801,6 +801,9 @@ {335545094, "There is no privilege for this operation"}, /* dyn_no_priv */ {335545095, "Using GRANT OPTION on @1 not allowed"}, /* dsql_cant_grant_option */ {335545096, "read conflicts with concurrent update"}, /* read_conflict */ + {335545097, "@1 failed when working with CREATE DATABASE grants"}, /* crdb_load */ + {335545098, "CREATE DATABASE grants check is not possible when database @1 is not present"}, /* crdb_nodb */ + {335545099, "CREATE DATABASE grants check is not possible when table RDB$DB_CREATORS is not present in database @1"}, /* crdb_notable */ {335740929, "data base file name (@1) already given"}, /* gfix_db_name */ {335740930, "invalid switch @1"}, /* gfix_invalid_sw */ {335740932, "incompatible switch combination"}, /* gfix_incmp_sw */ Modified: firebird/trunk/src/include/gen/sql_code.h =================================================================== --- firebird/trunk/src/include/gen/sql_code.h 2014-09-02 06:29:44 UTC (rev 60024) +++ firebird/trunk/src/include/gen/sql_code.h 2014-09-02 16:55:14 UTC (rev 60025) @@ -797,6 +797,9 @@ {335545094, -901}, /* 774 dyn_no_priv */ {335545095, -901}, /* 775 dsql_cant_grant_option */ {335545096, -904}, /* 776 read_conflict */ + {335545097, -901}, /* 777 crdb_load */ + {335545098, -901}, /* 778 crdb_nodb */ + {335545099, -901}, /* 779 crdb_notable */ {335740929, -901}, /* 1 gfix_db_name */ {335740930, -901}, /* 2 gfix_invalid_sw */ {335740932, -901}, /* 4 gfix_incmp_sw */ Modified: firebird/trunk/src/include/gen/sql_state.h =================================================================== --- firebi... [truncated message content] |
From: <fir...@us...> - 2014-09-03 01:20:42
|
Revision: 60026 http://sourceforge.net/p/firebird/code/60026 Author: firebirds Date: 2014-09-03 01:20:34 +0000 (Wed, 03 Sep 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-09-02 16:55:14 UTC (rev 60025) +++ firebird/trunk/ChangeLog 2014-09-03 01:20:34 UTC (rev 60026) @@ -1,3 +1,30 @@ + 2014-09-02 16:55 alexpeshkoff + M doc/sql.extensions/README.ddl_access.txt + M lang_helpers/gds_codes.ftn + M lang_helpers/gds_codes.pas + M src/dsql/DdlNodes.epp + M src/dsql/DdlNodes.h + M src/dsql/parse.y + M src/include/gen/codetext.h + M src/include/gen/iberror.h + M src/include/gen/ids.h + M src/include/gen/msgs.h + M src/include/gen/sql_code.h + M src/include/gen/sql_state.h + M src/isql/show.epp + A src/jrd/DbCreators.cpp + A src/jrd/DbCreators.h + M src/jrd/jrd.cpp + M src/jrd/names.h + M src/jrd/opt.cpp + M src/jrd/relations.h + M src/jrd/tra.cpp + M src/jrd/tra.h + M src/msgs/facilities2.sql + M src/msgs/messages2.sql + M src/msgs/system_errors2.sql +Implemented CORE-4538: Access rights for CREATE DATABASE operator + 2014-09-01 13:22 dimitr M src/jrd/Database.cpp Correction. Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-09-02 16:55:14 UTC (rev 60025) +++ firebird/trunk/src/jrd/build_no.h 2014-09-03 01:20:34 UTC (rev 60026) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31323 + FORMAL BUILD NUMBER:31324 */ -#define PRODUCT_VER_STRING "3.0.0.31323" -#define FILE_VER_STRING "WI-T3.0.0.31323" -#define LICENSE_VER_STRING "WI-T3.0.0.31323" -#define FILE_VER_NUMBER 3, 0, 0, 31323 +#define PRODUCT_VER_STRING "3.0.0.31324" +#define FILE_VER_STRING "WI-T3.0.0.31324" +#define LICENSE_VER_STRING "WI-T3.0.0.31324" +#define FILE_VER_NUMBER 3, 0, 0, 31324 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31323" +#define FB_BUILD_NO "31324" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-09-02 16:55:14 UTC (rev 60025) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-09-03 01:20:34 UTC (rev 60026) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31323 +BuildNum=31324 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ale...@us...> - 2014-09-03 13:51:57
|
Revision: 60029 http://sourceforge.net/p/firebird/code/60029 Author: alexpeshkoff Date: 2014-09-03 13:51:48 +0000 (Wed, 03 Sep 2014) Log Message: ----------- Fixed VC10 build Modified Paths: -------------- firebird/trunk/builds/win32/msvc10/engine.vcxproj firebird/trunk/builds/win32/msvc10/engine.vcxproj.filters firebird/trunk/src/remote/os/win32/wnet.cpp Modified: firebird/trunk/builds/win32/msvc10/engine.vcxproj =================================================================== --- firebird/trunk/builds/win32/msvc10/engine.vcxproj 2014-09-03 11:35:12 UTC (rev 60028) +++ firebird/trunk/builds/win32/msvc10/engine.vcxproj 2014-09-03 13:51:48 UTC (rev 60029) @@ -65,6 +65,7 @@ <ClCompile Include="..\..\..\src\jrd\cvt2.cpp" /> <ClCompile Include="..\..\..\src\jrd\Database.cpp" /> <ClCompile Include="..\..\..\src\jrd\DataTypeUtil.cpp" /> + <ClCompile Include="..\..\..\src\jrd\DbCreators.cpp" /> <ClCompile Include="..\..\..\src\jrd\DebugInterface.cpp" /> <ClCompile Include="..\..\..\src\jrd\err.cpp" /> <ClCompile Include="..\..\..\src\jrd\event.cpp" /> Modified: firebird/trunk/builds/win32/msvc10/engine.vcxproj.filters =================================================================== --- firebird/trunk/builds/win32/msvc10/engine.vcxproj.filters 2014-09-03 11:35:12 UTC (rev 60028) +++ firebird/trunk/builds/win32/msvc10/engine.vcxproj.filters 2014-09-03 13:51:48 UTC (rev 60029) @@ -456,6 +456,7 @@ <ClCompile Include="..\..\..\src\jrd\Mapping.cpp"> <Filter>JRD files</Filter> </ClCompile> + <ClCompile Include="..\..\..\src\jrd\DbCreators.cpp" /> </ItemGroup> <ItemGroup> <ClInclude Include="..\..\..\src\jrd\recsrc\RecordSource.h"> @@ -977,6 +978,7 @@ <ClInclude Include="..\..\..\src\jrd\Mapping.h"> <Filter>Header files</Filter> </ClInclude> + <ClInclude Include="..\..\..\src\jrd\Monitoring.h" /> </ItemGroup> <ItemGroup> <None Include="..\..\..\src\dsql\DdlNodes.epp"> Modified: firebird/trunk/src/remote/os/win32/wnet.cpp =================================================================== --- firebird/trunk/src/remote/os/win32/wnet.cpp 2014-09-03 11:35:12 UTC (rev 60028) +++ firebird/trunk/src/remote/os/win32/wnet.cpp 2014-09-03 13:51:48 UTC (rev 60029) @@ -1332,9 +1332,9 @@ { LocalStatus st; port->port_crypt_plugin->decrypt(&st, n, buffer, buffer); - if (!st.isSuccess()) + if (st.getStatus() & IStatus::FB_HAS_ERRORS) { - status_exception::raise(st.get()); + status_exception::raise(&st); } } @@ -1371,9 +1371,9 @@ char* d = b.getBuffer(buffer_length); port->port_crypt_plugin->encrypt(&st, buffer_length, data, d); - if (!st.isSuccess()) + if (st.getStatus() & IStatus::FB_HAS_ERRORS) { - status_exception::raise(st.get()); + status_exception::raise(&st); } data = d; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-09-04 01:29:19
|
Revision: 60030 http://sourceforge.net/p/firebird/code/60030 Author: firebirds Date: 2014-09-04 01:29:12 +0000 (Thu, 04 Sep 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-09-03 13:51:48 UTC (rev 60029) +++ firebird/trunk/ChangeLog 2014-09-04 01:29:12 UTC (rev 60030) @@ -1,3 +1,14 @@ + 2014-09-03 13:51 alexpeshkoff + M builds/win32/msvc10/engine.vcxproj + M builds/win32/msvc10/engine.vcxproj.filters + M src/remote/os/win32/wnet.cpp +Fixed VC10 build + + 2014-09-03 11:35 paulbeach + M builds/posix/darwin.defaults + M builds/posix/prefix.darwin_x86_64 +3.0 Clang build + 2014-09-02 16:55 alexpeshkoff M doc/sql.extensions/README.ddl_access.txt M lang_helpers/gds_codes.ftn Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-09-03 13:51:48 UTC (rev 60029) +++ firebird/trunk/src/jrd/build_no.h 2014-09-04 01:29:12 UTC (rev 60030) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31324 + FORMAL BUILD NUMBER:31326 */ -#define PRODUCT_VER_STRING "3.0.0.31324" -#define FILE_VER_STRING "WI-T3.0.0.31324" -#define LICENSE_VER_STRING "WI-T3.0.0.31324" -#define FILE_VER_NUMBER 3, 0, 0, 31324 +#define PRODUCT_VER_STRING "3.0.0.31326" +#define FILE_VER_STRING "WI-T3.0.0.31326" +#define LICENSE_VER_STRING "WI-T3.0.0.31326" +#define FILE_VER_NUMBER 3, 0, 0, 31326 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31324" +#define FB_BUILD_NO "31326" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-09-03 13:51:48 UTC (rev 60029) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-09-04 01:29:12 UTC (rev 60030) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31324 +BuildNum=31326 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-09-06 01:29:39
|
Revision: 60033 http://sourceforge.net/p/firebird/code/60033 Author: firebirds Date: 2014-09-06 01:29:31 +0000 (Sat, 06 Sep 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-09-05 15:21:10 UTC (rev 60032) +++ firebird/trunk/ChangeLog 2014-09-06 01:29:31 UTC (rev 60033) @@ -1,3 +1,7 @@ + 2014-09-05 15:21 asfernandes + M src/jrd/Database.h +Fixed problem of undefined behaviour when deleting pointer of an incomplete type. + 2014-09-03 13:51 alexpeshkoff M builds/win32/msvc10/engine.vcxproj M builds/win32/msvc10/engine.vcxproj.filters Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-09-05 15:21:10 UTC (rev 60032) +++ firebird/trunk/src/jrd/build_no.h 2014-09-06 01:29:31 UTC (rev 60033) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31326 + FORMAL BUILD NUMBER:31327 */ -#define PRODUCT_VER_STRING "3.0.0.31326" -#define FILE_VER_STRING "WI-T3.0.0.31326" -#define LICENSE_VER_STRING "WI-T3.0.0.31326" -#define FILE_VER_NUMBER 3, 0, 0, 31326 +#define PRODUCT_VER_STRING "3.0.0.31327" +#define FILE_VER_STRING "WI-T3.0.0.31327" +#define LICENSE_VER_STRING "WI-T3.0.0.31327" +#define FILE_VER_NUMBER 3, 0, 0, 31327 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31326" +#define FB_BUILD_NO "31327" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-09-05 15:21:10 UTC (rev 60032) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-09-06 01:29:31 UTC (rev 60033) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31326 +BuildNum=31327 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-09-08 01:25:09
|
Revision: 60036 http://sourceforge.net/p/firebird/code/60036 Author: firebirds Date: 2014-09-08 01:25:04 +0000 (Mon, 08 Sep 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-09-07 19:37:00 UTC (rev 60035) +++ firebird/trunk/ChangeLog 2014-09-08 01:25:04 UTC (rev 60036) @@ -1,3 +1,11 @@ + 2014-09-07 19:37 asfernandes + M src/jrd/TempSpace.cpp + M src/jrd/nbak.cpp + M src/lock/print.cpp + M src/yvalve/utl.cpp + M src/yvalve/why.cpp +Misc. + 2014-09-05 15:21 asfernandes M src/jrd/Database.h Fixed problem of undefined behaviour when deleting pointer of an incomplete type. Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-09-07 19:37:00 UTC (rev 60035) +++ firebird/trunk/src/jrd/build_no.h 2014-09-08 01:25:04 UTC (rev 60036) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31327 + FORMAL BUILD NUMBER:31328 */ -#define PRODUCT_VER_STRING "3.0.0.31327" -#define FILE_VER_STRING "WI-T3.0.0.31327" -#define LICENSE_VER_STRING "WI-T3.0.0.31327" -#define FILE_VER_NUMBER 3, 0, 0, 31327 +#define PRODUCT_VER_STRING "3.0.0.31328" +#define FILE_VER_STRING "WI-T3.0.0.31328" +#define LICENSE_VER_STRING "WI-T3.0.0.31328" +#define FILE_VER_NUMBER 3, 0, 0, 31328 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31327" +#define FB_BUILD_NO "31328" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-09-07 19:37:00 UTC (rev 60035) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-09-08 01:25:04 UTC (rev 60036) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31327 +BuildNum=31328 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-09-17 01:22:59
|
Revision: 60043 http://sourceforge.net/p/firebird/code/60043 Author: firebirds Date: 2014-09-17 01:22:54 +0000 (Wed, 17 Sep 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-09-14 19:46:35 UTC (rev 60042) +++ firebird/trunk/ChangeLog 2014-09-17 01:22:54 UTC (rev 60043) @@ -1,3 +1,16 @@ + 2014-09-14 19:46 mapopa + M doc/README.build.posix.html +Update FreeBSD section for trunk in doc/README.build.posix.html + + 2014-09-14 16:25 mapopa + M src/common/isc_sync.cpp +Apply patch from 2.5 branch related to #CORE-3400 http://sourceforge.net/p/firebird/mailman/message/27734396/ + + 2014-09-10 11:55 dimitr + M src/remote/protocol.cpp + M src/remote/protocol.h +Resolved CORE-2897: Don't send full length of field over the wire when field is null. + 2014-09-07 19:37 asfernandes M src/jrd/TempSpace.cpp M src/jrd/nbak.cpp Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-09-14 19:46:35 UTC (rev 60042) +++ firebird/trunk/src/jrd/build_no.h 2014-09-17 01:22:54 UTC (rev 60043) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31328 + FORMAL BUILD NUMBER:31331 */ -#define PRODUCT_VER_STRING "3.0.0.31328" -#define FILE_VER_STRING "WI-T3.0.0.31328" -#define LICENSE_VER_STRING "WI-T3.0.0.31328" -#define FILE_VER_NUMBER 3, 0, 0, 31328 +#define PRODUCT_VER_STRING "3.0.0.31331" +#define FILE_VER_STRING "WI-T3.0.0.31331" +#define LICENSE_VER_STRING "WI-T3.0.0.31331" +#define FILE_VER_NUMBER 3, 0, 0, 31331 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31328" +#define FB_BUILD_NO "31331" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-09-14 19:46:35 UTC (rev 60042) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-09-17 01:22:54 UTC (rev 60043) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31328 +BuildNum=31331 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-09-19 01:24:31
|
Revision: 60051 http://sourceforge.net/p/firebird/code/60051 Author: firebirds Date: 2014-09-19 01:24:27 +0000 (Fri, 19 Sep 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-09-18 22:31:53 UTC (rev 60050) +++ firebird/trunk/ChangeLog 2014-09-19 01:24:27 UTC (rev 60051) @@ -1,3 +1,23 @@ + 2014-09-18 22:31 hvlad + M src/common/classes/fb_atomic.h + M src/jrd/Relation.cpp + M src/jrd/Relation.h + M src/jrd/dpm.epp + M src/jrd/ods.cpp + M src/jrd/ods.h + M src/jrd/pag.cpp + M src/jrd/pag.h + M src/jrd/pag_proto.h + M src/msgs/facilities2.sql + M src/msgs/messages2.sql + M src/utilities/gstat/dba.epp +Implement improvement CORE-4556 : Allocate data pages in group of sequential ordered pages (extents) +Validation code will follow + + 2014-09-18 15:55 asfernandes + M src/jrd/dfw.epp +Fixed CORE-4555 - DDL trigger remains active after dropped. + 2014-09-14 19:46 mapopa M doc/README.build.posix.html Update FreeBSD section for trunk in doc/README.build.posix.html Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-09-18 22:31:53 UTC (rev 60050) +++ firebird/trunk/src/jrd/build_no.h 2014-09-19 01:24:27 UTC (rev 60051) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31331 + FORMAL BUILD NUMBER:31333 */ -#define PRODUCT_VER_STRING "3.0.0.31331" -#define FILE_VER_STRING "WI-T3.0.0.31331" -#define LICENSE_VER_STRING "WI-T3.0.0.31331" -#define FILE_VER_NUMBER 3, 0, 0, 31331 +#define PRODUCT_VER_STRING "3.0.0.31333" +#define FILE_VER_STRING "WI-T3.0.0.31333" +#define LICENSE_VER_STRING "WI-T3.0.0.31333" +#define FILE_VER_NUMBER 3, 0, 0, 31333 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31331" +#define FB_BUILD_NO "31333" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-09-18 22:31:53 UTC (rev 60050) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-09-19 01:24:27 UTC (rev 60051) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31331 +BuildNum=31333 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-09-23 01:19:52
|
Revision: 60053 http://sourceforge.net/p/firebird/code/60053 Author: firebirds Date: 2014-09-23 01:19:48 +0000 (Tue, 23 Sep 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-09-22 19:25:40 UTC (rev 60052) +++ firebird/trunk/ChangeLog 2014-09-23 01:19:48 UTC (rev 60053) @@ -1,3 +1,7 @@ + 2014-09-22 19:25 skidder + M src/jrd/dpm.epp +Fix warnings + 2014-09-18 22:31 hvlad M src/common/classes/fb_atomic.h M src/jrd/Relation.cpp Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-09-22 19:25:40 UTC (rev 60052) +++ firebird/trunk/src/jrd/build_no.h 2014-09-23 01:19:48 UTC (rev 60053) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31333 + FORMAL BUILD NUMBER:31334 */ -#define PRODUCT_VER_STRING "3.0.0.31333" -#define FILE_VER_STRING "WI-T3.0.0.31333" -#define LICENSE_VER_STRING "WI-T3.0.0.31333" -#define FILE_VER_NUMBER 3, 0, 0, 31333 +#define PRODUCT_VER_STRING "3.0.0.31334" +#define FILE_VER_STRING "WI-T3.0.0.31334" +#define LICENSE_VER_STRING "WI-T3.0.0.31334" +#define FILE_VER_NUMBER 3, 0, 0, 31334 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31333" +#define FB_BUILD_NO "31334" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-09-22 19:25:40 UTC (rev 60052) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-09-23 01:19:48 UTC (rev 60053) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31333 +BuildNum=31334 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-09-27 01:20:23
|
Revision: 60055 http://sourceforge.net/p/firebird/code/60055 Author: firebirds Date: 2014-09-27 01:20:19 +0000 (Sat, 27 Sep 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-09-26 13:34:30 UTC (rev 60054) +++ firebird/trunk/ChangeLog 2014-09-27 01:20:19 UTC (rev 60055) @@ -1,3 +1,7 @@ + 2014-09-26 13:34 mapopa + M doc/README.build.msvc.html +Update Visual Studio Expresss 20xx Download link + 2014-09-22 19:25 skidder M src/jrd/dpm.epp Fix warnings Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-09-26 13:34:30 UTC (rev 60054) +++ firebird/trunk/src/jrd/build_no.h 2014-09-27 01:20:19 UTC (rev 60055) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31334 + FORMAL BUILD NUMBER:31335 */ -#define PRODUCT_VER_STRING "3.0.0.31334" -#define FILE_VER_STRING "WI-T3.0.0.31334" -#define LICENSE_VER_STRING "WI-T3.0.0.31334" -#define FILE_VER_NUMBER 3, 0, 0, 31334 +#define PRODUCT_VER_STRING "3.0.0.31335" +#define FILE_VER_STRING "WI-T3.0.0.31335" +#define LICENSE_VER_STRING "WI-T3.0.0.31335" +#define FILE_VER_NUMBER 3, 0, 0, 31335 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31334" +#define FB_BUILD_NO "31335" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-09-26 13:34:30 UTC (rev 60054) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-09-27 01:20:19 UTC (rev 60055) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31334 +BuildNum=31335 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fir...@us...> - 2014-09-29 01:18:12
|
Revision: 60057 http://sourceforge.net/p/firebird/code/60057 Author: firebirds Date: 2014-09-29 01:18:08 +0000 (Mon, 29 Sep 2014) Log Message: ----------- nightly update Modified Paths: -------------- firebird/trunk/ChangeLog firebird/trunk/src/jrd/build_no.h firebird/trunk/src/misc/writeBuildNum.sh Modified: firebird/trunk/ChangeLog =================================================================== --- firebird/trunk/ChangeLog 2014-09-28 09:43:57 UTC (rev 60056) +++ firebird/trunk/ChangeLog 2014-09-29 01:18:08 UTC (rev 60057) @@ -1,3 +1,18 @@ + 2014-09-28 09:43 hvlad + M src/alice/alice.cpp + M src/alice/alice.h + M src/alice/exe.cpp + M src/jrd/Attachment.h + M src/jrd/inf.cpp + M src/jrd/inf_pub.h + M src/jrd/jrd.cpp + M src/jrd/jrd.h + M src/jrd/validation.cpp + A src/jrd/validation.h + M src/msgs/facilities2.sql + M src/msgs/messages2.sql +Improvement CORE-4562 : Split all validation messages on critical and minor ones + 2014-09-26 13:34 mapopa M doc/README.build.msvc.html Update Visual Studio Expresss 20xx Download link Modified: firebird/trunk/src/jrd/build_no.h =================================================================== --- firebird/trunk/src/jrd/build_no.h 2014-09-28 09:43:57 UTC (rev 60056) +++ firebird/trunk/src/jrd/build_no.h 2014-09-29 01:18:08 UTC (rev 60057) @@ -3,16 +3,16 @@ *** DO NOT EDIT *** TO CHANGE ANY INFORMATION IN HERE PLEASE EDIT src/misc/writeBuildNum.sh - FORMAL BUILD NUMBER:31335 + FORMAL BUILD NUMBER:31336 */ -#define PRODUCT_VER_STRING "3.0.0.31335" -#define FILE_VER_STRING "WI-T3.0.0.31335" -#define LICENSE_VER_STRING "WI-T3.0.0.31335" -#define FILE_VER_NUMBER 3, 0, 0, 31335 +#define PRODUCT_VER_STRING "3.0.0.31336" +#define FILE_VER_STRING "WI-T3.0.0.31336" +#define LICENSE_VER_STRING "WI-T3.0.0.31336" +#define FILE_VER_NUMBER 3, 0, 0, 31336 #define FB_MAJOR_VER "3" #define FB_MINOR_VER "0" #define FB_REV_NO "0" -#define FB_BUILD_NO "31335" +#define FB_BUILD_NO "31336" #define FB_BUILD_TYPE "T" #define FB_BUILD_SUFFIX "Firebird 3.0 Alpha 2" Modified: firebird/trunk/src/misc/writeBuildNum.sh =================================================================== --- firebird/trunk/src/misc/writeBuildNum.sh 2014-09-28 09:43:57 UTC (rev 60056) +++ firebird/trunk/src/misc/writeBuildNum.sh 2014-09-29 01:18:08 UTC (rev 60057) @@ -9,7 +9,7 @@ MajorVer=3 MinorVer=0 RevNo=0 -BuildNum=31335 +BuildNum=31336 NowAt=`pwd` cd `dirname $0` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |