Skip to content

Commit

Permalink
Prepare for YottaDB r1.26 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nars1 committed Jun 26, 2019
1 parent 6d1d010 commit 50f517e
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 46 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ foreach(lang ${languages})
endforeach()

# Defaults
set(version r125)
set(version r126)

# If CMAKE_BUILD_TYPE is not defined make it a Release build
if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ listed below. For example for Ubuntu Linux:
- Installing YottaDB

Now you are ready to install YottaDB. The default installation path for each release includes the release
(e.g. for YottaDB r1.24, the default installation path is /usr/local/lib/yottadb/r124),
(e.g. for YottaDB r1.26, the default installation path is /usr/local/lib/yottadb/r126),
but can be controlled using the ```--installdir``` option. Run ```./ydbinstall --help``` for a list of options.

```sh
Expand Down Expand Up @@ -159,12 +159,12 @@ docker run --rm -it yottadb/yottadb # you can add a specific version after a ":"

This indicates that required libraries are not found. Please consult the list of libraries and check your distributions package manager.

- YottaDB installation fails with %YDB-E-DLLNOOPEN
- YottaDB installation fails with %YDB-E-DLLNOOPEN

Example error message that would be printed to the screen:

```
%YDB-E-DLLNOOPEN, Failed to load external dynamic library /usr/local/lib/yottadb/r124/libyottadb.so
%YDB-E-DLLNOOPEN, Failed to load external dynamic library /usr/local/lib/yottadb/r126/libyottadb.so
%YDB-E-TEXT, libtinfo.so.5: cannot open shared object file: No such file or directory
```

Expand Down
2 changes: 1 addition & 1 deletion sr_linux/release_name.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#define GTM_VERSION "V6.3"
#define GTM_ZVERSION "V6.3-007"
#define YDB_ZYRELEASE "r1.25" /* changes here should be reflected in YDB_RELEASE in sr_unix/libyottadb.h */
#define YDB_ZYRELEASE "r1.26" /* changes here should be reflected in YDB_RELEASE in sr_unix/libyottadb.h */

/* Note: YDB_RELEASE_STAMP is set as part of the cmake build process.
* Example values are
Expand Down
6 changes: 3 additions & 3 deletions sr_port/dse.hlp
Original file line number Diff line number Diff line change
Expand Up @@ -1558,9 +1558,9 @@

This command displays an output like the following:

File /home/jdoe/.yottadb/r1.24_x86_64/g/yottadb.dat
File /home/jdoe/.yottadb/r1.26_x86_64/g/yottadb.dat
Region DEFAULT
File /home/jdoe/.yottadb/r1.24_x86_64/g/yottadb.dat
File /home/jdoe/.yottadb/r1.26_x86_64/g/yottadb.dat
Region DEFAULT
Date/Time 27-JAN-2014 03:13:40 [$H = 63214,11620]
Access method MM Global Buffers 1024
Expand Down Expand Up @@ -2980,7 +2980,7 @@

**Note**

This help file is a concise representation of the revision r1.24 of the
This help file is a concise representation of the revision r1.26 of the
Administration and Operations Guide. To obtain a copy of the current
revision, go to https://docs.yottadb.com/AdminOpsGuide/index.html.

2 changes: 1 addition & 1 deletion sr_port/gde.hlp
Original file line number Diff line number Diff line change
Expand Up @@ -2220,7 +2220,7 @@

**Note**

This help file is a concise representation of the revision r1.24 of the
This help file is a concise representation of the revision r1.26 of the
Administration and Operations Guide. To obtain a copy of the current
revision, go to https://docs.yottadb.com/AdminOpsGuide/index.html.

2 changes: 1 addition & 1 deletion sr_port/lke.hlp
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@

**Note**

This help file is a concise representation of the revision r1.24 of the
This help file is a concise representation of the revision r1.26 of the
Administration and Operations Guide. To obtain a copy of the current
revision, go to https://docs.yottadb.com/AdminOpsGuide/index.html.

44 changes: 22 additions & 22 deletions sr_port/mumps.hlp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@

**Note**

This help file is a concise representation of the revision r1.24 of the
This help file is a concise representation of the revision r1.26 of the
Administration and Operations Guide. To obtain a copy of the current
revision, go to https://docs.yottadb.com/ProgrammersGuide/index.html.

Expand Down Expand Up @@ -531,7 +531,7 @@

Example:

$ /usr/local/lib/yottadb/r124/ydb -run ^killalias
$ /usr/local/lib/yottadb/r126/ydb -run ^killalias
killalias ; Demonstrate Kill * of pass-by-reference
ZPrint ; Print this program
Set A=1,C=3
Expand Down Expand Up @@ -592,7 +592,7 @@

Example:

$ /usr/local/lib/yottadb/r124/ydb -run ^tprestart
$ /usr/local/lib/yottadb/r126/ydb -run ^tprestart
tprestart ; Transaction restart variable association also restored on restart
zprint ; Print this program
set A="Malvern",C="Pennsylvania",E="USA"
Expand Down Expand Up @@ -647,7 +647,7 @@

Note that TROLLBACK does not restore alias variables:

/usr/local/lib/yottadb/r124/ydb -run ^tprollback
/usr/local/lib/yottadb/r126/ydb -run ^tprollback
tprollback ;
zprint ; Print this program
set A(1)=1,A(2)=2,A(3)=3
Expand Down Expand Up @@ -709,7 +709,7 @@

Example:

$ /usr/local/lib/yottadb/r124/ydb -run ^aliasexample; Extended annotated alias example
$ /usr/local/lib/yottadb/r126/ydb -run ^aliasexample; Extended annotated alias example
zprint
write "------------",!
set x="name level",x(1)=1,x(1,2)="1,2",x("foo")="bar"
Expand Down Expand Up @@ -1879,7 +1879,7 @@
Example:

YDB>write $zgbldir
/usr/local/lib/yottadb/r124/mumps.gld
/usr/local/lib/yottadb/r126/mumps.gld
YDB>set $zgbldir="test.gld"
YDB>set a=10
YDB>set b=a
Expand Down Expand Up @@ -4496,7 +4496,7 @@

Example:

/usr/local/lib/yottadb/r124/ydb -run ^stackalias
/usr/local/lib/yottadb/r126/ydb -run ^stackalias
stackalias ; Demonstrate New with alias
ZPrint ; Print this program
Set A=1,*B=A,*C(2)=A ; Create some aliases
Expand Down Expand Up @@ -4541,7 +4541,7 @@
The following is essentially the same as the prior example but using an
exclusive NEW:

$ /usr/local/lib/yottadb/r124/ydb -run ^stackalias1
$ /usr/local/lib/yottadb/r126/ydb -run ^stackalias1
stackalias1 ; Demonstrate New with alias
ZPrint ; Print this program
Set A=1,*B=A,*C(2)=A ; Create some aliases
Expand Down Expand Up @@ -5859,7 +5859,7 @@
YDB>ZLink "NOSENSE"
%YDB-E-LABELMISSING Label referenced but
not defined:lab
%YDB-I-SRCNAM in source module /home/gtmuser1/.yottadb/r124_x86_64/r/
%YDB-I-SRCNAM in source module /home/gtmuser1/.yottadb/r126_x86_64/r/
NOSENSE.m
YDB>ZPrint ^NOSENSE
NOSENSE;
Expand Down Expand Up @@ -6855,7 +6855,7 @@
NTW:203,NTR:4,NBW:212,NBR:414,NR0:0,NR1:0,NR2:0,NR3:0,TTW:1,TTR:0,TRB:0,TBW:2,TBR:6,
TR0:0,TR1:0,TR2:0,TR3:0,TR4:0,TC0:0,TC1:0,TC2:0,TC3:0,TC4:0,ZTR:0,DFL:0,DFS:0,JFL:0,JFS:0,JBB:0,JFB:0,JFW:0,JRL:0,JRP:0,
JRE:0,JRI:0,JRO:0,JEX:0,DEX:0,CAT:4,CFE:0,CFS:0,CFT:0,CQS:0,CQT:0,CYS:0,CYT:0,BTD:0
GLD:/home/gtmuser1/.yottadb/r124_x86_64/g/mumps.gld,REG:DEFAULT,SET:205,KIL:0,GET:1,
GLD:/home/gtmuser1/.yottadb/r126_x86_64/g/mumps.gld,REG:DEFAULT,SET:205,KIL:0,GET:1,
DTA:0,ORD:0,ZPR:0,QRY:0,LKS:0,LKF:0,CTN:411,DRD:9,DWT:15,NTW:2
03,NTR:4,NBW:212,NBR:414,NR0:0,NR1:0,NR2:0,NR3:0,TTW:1,TTR:0,TRB:0,TBW:2,TBR:6,TR0:0,
TR1:0,TR2:0,TR3:0,TR4:0,TC0:0,TC1:0,TC2:0,TC3:0,TC4:0
Expand Down Expand Up @@ -6990,7 +6990,7 @@
$ZQUIT=0
$ZREALSTOR=694280
$ZRELDATE="20180614 00:33"
$ZROUTINES=". /home/user/.yottadb/r1.24_x86_64/o*(/home/user/.yottadb/r1.24_x86_64/r /home/user/.yottadb/r) /usr/local/lib/yottadb/r124/libyottadbutil.so"
$ZROUTINES=". /home/user/.yottadb/r1.26_x86_64/o*(/home/user/.yottadb/r1.26_x86_64/r /home/user/.yottadb/r) /usr/local/lib/yottadb/r126/libyottadbutil.so"
$ZSOURCE=""
$ZSTATUS=""
$ZSTEP="B"
Expand All @@ -7010,9 +7010,9 @@
$ZTWORMHOLE=""
$ZUSEDSTOR=666047
$ZUT=1528962650791332
$ZVERSION="GT.M V6.3-005 Linux x86_64"
$ZVERSION="GT.M V6.3-007 Linux x86_64"
$ZYERROR=""
$ZYRELEASE="YottaDB r1.24 Linux x86_64"
$ZYRELEASE="YottaDB r1.26 Linux x86_64"

This example displays the current value of all intrinsic special
variables.
Expand Down Expand Up @@ -8513,7 +8513,7 @@

Example:

/usr/local/lib/yottadb/r124/ydb -run ^dstackex
/usr/local/lib/yottadb/r126/ydb -run ^dstackex
dstackex;
zprint ^dstackex
write !,$STACK
Expand Down Expand Up @@ -9118,7 +9118,7 @@
variable with an agreed prefix (e.g., "%") and its $ZAHANDLE() as a
suffix. The handle can be returned as the value.

$ /usr/local/lib/yottadb/r124/ydb -run retval
$ /usr/local/lib/yottadb/r126/ydb -run retval
retval ; Return an array / object from a function
;;Data for the object array
;;Albert Einstein,14-March-1879
Expand Down Expand Up @@ -9998,10 +9998,10 @@

YDB>set x=$zjobexam()
YDB>write x
/home/gtmuser1/.yottadb/r124_x86_64/r/YDB_JOBEXAM.ZSHOW_DMP_28760_1
/home/gtmuser1/.yottadb/r126_x86_64/r/YDB_JOBEXAM.ZSHOW_DMP_28760_1
YDB>set x=$zjobexam("test.file")
YDB>write x
/home/gtmuser1/.yottadb/r124_x86_64/r/test.file
/home/gtmuser1/.yottadb/r126_x86_64/r/test.file
YDB>

Shows default file name and type of the files created containing the zshow
Expand Down Expand Up @@ -10213,7 +10213,7 @@
Example:

$ cd /usr/work/me
$ /usr/local/lib/yottadb/r124/ydb
$ /usr/local/lib/yottadb/r126/ydb
YDB>For i="DIRECTORY","NAME","TYPE","" Write $ZPARSE("test.m",i),!
/usr/work/me/
test
Expand Down Expand Up @@ -10875,9 +10875,9 @@
Example:

YDB>write $ztrnlnm("ydb_dist")
/usr/local/lib/yottadb/r124/utf8
/usr/local/lib/yottadb/r126/utf8
YDB>write $ztrnlnm("ydb_dist","","","","","VALUE")
/usr/local/lib/yottadb/r124/utf8
/usr/local/lib/yottadb/r126/utf8
YDB>

This uses $ZTRNLNM() to display the translation value for ydb_dist.
Expand Down Expand Up @@ -11585,7 +11585,7 @@
Example:

$ export ydb_chset=UTF-8
$ /usr/local/lib/yottadb/r124/ydb
$ /usr/local/lib/yottadb/r126/ydb
YDB>write $zchset
UTF-8
YDB>
Expand Down Expand Up @@ -13096,7 +13096,7 @@
Example:

$ export sigusrval=10
$ /usr/local/lib/yottadb/r124/ydb
$ /usr/local/lib/yottadb/r126/ydb
YDB>zprint ^ztran
foo;
set $ztexit=1
Expand Down
16 changes: 8 additions & 8 deletions sr_port/mupip.hlp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
processing for all regions before starting archive. For example, a
message like:

DB file /home/jdoe/.yottadb/r124_x86_64/g/gtm.dat backed up in file /backup/gtm.dat
DB file /home/jdoe/.yottadb/r126_x86_64/g/gtm.dat backed up in file /backup/gtm.dat
Transactions up to 0x0000000000E92E04 are backed up.

confirms that gtm.dat is backed up correctly and is ready for archive.
Expand Down Expand Up @@ -2337,7 +2337,7 @@

$ mupip rctldump .
Object Directory : /tmp
Relinkctl filename : /tmp/yottadb/r124_x86_64/ydb-relinkctl-61f9eb418212a24a75327f53106c1656
Relinkctl filename : /tmp/yottadb/r126_x86_64/ydb-relinkctl-61f9eb418212a24a75327f53106c1656
# of routines : 1
# of attached processes : 2
Relinkctl shared memory : shmid: 11534344 shmlen: 0x57c6000
Expand Down Expand Up @@ -5171,12 +5171,12 @@
following is an example of SHOW=HEADER output:

-------------------------------------------------------------------------------
SHOW output for journal file /home/jdoe/.yottadb/r124_x86_64/g/gtm.mjl
SHOW output for journal file /home/jdoe/.yottadb/r126_x86_64/g/gtm.mjl
-------------------------------------------------------------------------------
Journal file name /home/jdoe/.yottadb/r124_x86_64/g/gtm.mjl
Journal file name /home/jdoe/.yottadb/r126_x86_64/g/gtm.mjl
Journal file label GDSJNL27
Database file name /home/jdoe/.yottadb/r124_x86_64/g/gtm.dat
Prev journal file name /home/jdoe/.yottadb/r124_x86_64/g/gtm.mjl_2012310190106
Database file name /home/jdoe/.yottadb/r126_x86_64/g/gtm.dat
Prev journal file name /home/jdoe/.yottadb/r126_x86_64/g/gtm.mjl_2012310190106
Next journal file name
Before-image journal ENABLED
Journal file header size 65536 [0x00010000]
Expand Down Expand Up @@ -5226,7 +5226,7 @@
qualifiers.The following is an example of SHOW=STATISTICS output:

-------------------------------------------------------------------------------
SHOW output for journal file /home/jdoe/.yottadb/r124_x86_64/g/gtm.mjl
SHOW output for journal file /home/jdoe/.yottadb/r126_x86_64/g/gtm.mjl
-------------------------------------------------------------------------------
Record type Count
----------------------
Expand Down Expand Up @@ -8531,7 +8531,7 @@

**Note**

This help file is a concise representation of the revision r1.24 of the
This help file is a concise representation of the revision r1.26 of the
Administration and Operations Guide. To obtain a copy of the current
revision, go to https://docs.yottadb.com/AdminOpsGuide/index.html.

2 changes: 1 addition & 1 deletion sr_unix/libyottadb.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ enum
YDB_SEVERITY_FATAL = 4 /* Fatal - Something happened that is so bad, YottaDB cannot continue */
};

#define YDB_RELEASE 125 /* Corresponds to YottaDB release r1.25 (i.e. YDB_ZYRELEASE in sr_linux/release_name.h) */
#define YDB_RELEASE 126 /* Corresponds to YottaDB release r1.26 (i.e. YDB_ZYRELEASE in sr_linux/release_name.h) */

/* Maximum values */
#define YDB_MAX_IDENT 31 /* Maximum size of global/local name (not including '^') */
Expand Down
10 changes: 5 additions & 5 deletions sr_unix/ydbinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ help_exit()
echo "version is defaulted from yottadb file if one exists in the same directory as the installer"
echo "This version must run as root."
echo ""
echo "Example usages are (assumes latest YottaDB release is r1.24 and latest GT.M version is V6.3-005)"
echo " ydbinstall.sh # installs latest YottaDB release (r1.24) at /usr/local/lib/yottadb/r124"
echo " ydbinstall.sh --utf8 default # installs YottaDB release r1.24 with added support for UTF-8"
echo " ydbinstall.sh --installdir /r124 r1.24 # installs YottaDB r1.24 at /r124"
echo " ydbinstall.sh --gtm # installs latest GT.M version (V6.3-005) at /usr/local/lib/fis-gtm/V6.3-005_x86_64"
echo "Example usages are (assumes latest YottaDB release is r1.26 and latest GT.M version is V6.3-007)"
echo " ydbinstall.sh # installs latest YottaDB release (r1.26) at /usr/local/lib/yottadb/r126"
echo " ydbinstall.sh --utf8 default # installs YottaDB release r1.26 with added support for UTF-8"
echo " ydbinstall.sh --installdir /r126 r1.26 # installs YottaDB r1.26 at /r126"
echo " ydbinstall.sh --gtm # installs latest GT.M version (V6.3-007) at /usr/local/lib/fis-gtm/V6.3-007_x86_64"
echo ""
exit 1
}
Expand Down

0 comments on commit 50f517e

Please sign in to comment.