Skip to content

Commit

Permalink
[r1.32] Prepare for YottaDB r1.32 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nars1 committed Jul 8, 2021
1 parent a8139fd commit 3aec557
Show file tree
Hide file tree
Showing 10 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ foreach(lang ${languages})
endforeach()

# Defaults
set(version r131)
set(version r132)

# If CMAKE_BUILD_TYPE is not defined make it a Release build
if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,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.28, the default installation path is /usr/local/lib/yottadb/r130),
(e.g. for YottaDB r1.32, the default installation path is /usr/local/lib/yottadb/r132),
but can be controlled using the ```--installdir``` option. Run ```./ydbinstall --help``` for a list of options.

```sh
Expand Down Expand Up @@ -183,7 +183,7 @@ docker run --rm -it yottadb/yottadb # you can add a specific version after a ":"
Example error message that would be printed to the screen:

```
%YDB-E-DLLNOOPEN, Failed to load external dynamic library /usr/local/lib/yottadb/r130/libyottadb.so
%YDB-E-DLLNOOPEN, Failed to load external dynamic library /usr/local/lib/yottadb/r132/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-010"
#define YDB_ZYRELEASE "r1.31" /* changes here should be reflected in YDB_RELEASE in sr_unix/libyottadb.h */
#define YDB_ZYRELEASE "r1.32" /* changes here should be reflected in YDB_RELEASE in sr_unix/libyottadb.h */

/* This sets YDB_RELEASE_STAMP 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.30_x86_64/g/yottadb.dat
File /home/jdoe/.yottadb/r1.32_x86_64/g/yottadb.dat
Region DEFAULT
File /home/jdoe/.yottadb/r1.30_x86_64/g/yottadb.dat
File /home/jdoe/.yottadb/r1.32_x86_64/g/yottadb.dat
Region DEFAULT
Date/Time 27-JAN-2019 03:13:40 [$H = 63214,11620]
Access method MM Global Buffers 1024
Expand Down Expand Up @@ -2981,6 +2981,6 @@

**Note**

This help file is a concise representation of the revision r1.30 of the
This help file is a concise representation of the revision r1.32 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 @@ -2218,6 +2218,6 @@

**Note**

This help file is a concise representation of the revision r1.30 of the
This help file is a concise representation of the revision r1.32 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 @@ -638,6 +638,6 @@

**Note**

This help file is a concise representation of the revision r1.30 of the
This help file is a concise representation of the revision r1.32 of the
Administration and Operations Guide. To obtain a copy of the current
revision, go to https://docs.yottadb.com/AdminOpsGuide/index.html.
42 changes: 21 additions & 21 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.30 of the
This help file is a concise representation of the revision r1.32 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/r130/ydb -run ^killalias
$ /usr/local/lib/yottadb/r132/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/r130/ydb -run ^tprestart
$ /usr/local/lib/yottadb/r132/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/r130/ydb -run ^tprollback
/usr/local/lib/yottadb/r132/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/r130/ydb -run ^aliasexample; Extended annotated alias example
$ /usr/local/lib/yottadb/r132/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/r130/mumps.gld
/usr/local/lib/yottadb/r132/mumps.gld
YDB>set $zgbldir="test.gld"
YDB>set a=10
YDB>set b=a
Expand Down Expand Up @@ -4508,7 +4508,7 @@

Example:

/usr/local/lib/yottadb/r130/ydb -run ^stackalias
/usr/local/lib/yottadb/r132/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 @@ -4553,7 +4553,7 @@
The following is essentially the same as the prior example but using an
exclusive NEW:

$ /usr/local/lib/yottadb/r130/ydb -run ^stackalias1
$ /usr/local/lib/yottadb/r132/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 @@ -5871,7 +5871,7 @@
YDB>ZLink "NOSENSE"
%YDB-E-LABELMISSING Label referenced but
not defined:lab
%YDB-I-SRCNAM in source module /home/gtmuser1/.yottadb/r130_x86_64/r/
%YDB-I-SRCNAM in source module /home/gtmuser1/.yottadb/r132_x86_64/r/
NOSENSE.m
YDB>ZPrint ^NOSENSE
NOSENSE;
Expand Down Expand Up @@ -6868,7 +6868,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/r130_x86_64/g/mumps.gld,REG:DEFAULT,SET:205,KIL:0,GET:1,
GLD:/home/gtmuser1/.yottadb/r132_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 @@ -7004,7 +7004,7 @@
$ZQUIT=0
$ZREALSTOR=694280
$ZRELDATE="20200731 20:46 6996f60301958081b568fb2a804695d700f51c5e (dirty)"
$ZROUTINES=". /home/user/.yottadb/r1.30_x86_64/o*(/home/user/.yottadb/r1.30_x86_64/r /home/user/.yottadb/r) /usr/local/lib/yottadb/r130/libyottadbutil.so"
$ZROUTINES=". /home/user/.yottadb/r1.32_x86_64/o*(/home/user/.yottadb/r1.32_x86_64/r /home/user/.yottadb/r) /usr/local/lib/yottadb/r132/libyottadbutil.so"
$ZSOURCE=""
$ZSTATUS=""
$ZSTEP="B"
Expand All @@ -7027,7 +7027,7 @@
$ZUT=1528962650791332
$ZVERSION="GT.M V6.3-007 Linux x86_64"
$ZYERROR=""
$ZYRELEASE="YottaDB r1.30 Linux x86_64"
$ZYRELEASE="YottaDB r1.32 Linux x86_64"

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

Example:

/usr/local/lib/yottadb/r130/ydb -run ^dstackex
/usr/local/lib/yottadb/r132/ydb -run ^dstackex
dstackex;
zprint ^dstackex
write !,$STACK
Expand Down Expand Up @@ -9136,7 +9136,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/r130/ydb -run retval
$ /usr/local/lib/yottadb/r132/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 @@ -10025,10 +10025,10 @@

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

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

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

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

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

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

$ export sigusrval=10
$ /usr/local/lib/yottadb/r130/ydb
$ /usr/local/lib/yottadb/r132/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 @@ -266,7 +266,7 @@
processing for all regions before starting archive. For example, a
message like:

DB file /home/jdoe/.yottadb/r130_x86_64/g/gtm.dat backed up in file /backup/gtm.dat
DB file /home/jdoe/.yottadb/r132_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 @@ -2358,7 +2358,7 @@

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

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

-------------------------------------------------------------------------------
SHOW output for journal file /home/jdoe/.yottadb/r130_x86_64/g/gtm.mjl
SHOW output for journal file /home/jdoe/.yottadb/r132_x86_64/g/gtm.mjl
-------------------------------------------------------------------------------
Record type Count
----------------------
Expand Down Expand Up @@ -9033,6 +9033,6 @@ Example:

**Note**

This help file is a concise representation of the revision r1.30 of the
This help file is a concise representation of the revision r1.32 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 @@ -65,7 +65,7 @@ enum
YDB_MAIN_LANG_GO = 1 /* Main routine is written in Go so handle signals differently */
};

#define YDB_RELEASE 131 /* Corresponds to YottaDB release r1.31 (i.e. YDB_ZYRELEASE in sr_linux/release_name.h) */
#define YDB_RELEASE 132 /* Corresponds to YottaDB release r1.32 (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 @@ -158,11 +158,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.30 and latest GT.M version is V6.3-008)"
echo " ydbinstall.sh # installs latest YottaDB release (r1.30) at /usr/local/lib/yottadb/r130"
echo " ydbinstall.sh --utf8 default # installs YottaDB release r1.30 with added support for UTF-8"
echo " ydbinstall.sh --installdir /r130 r1.30 # installs YottaDB r1.30 at /r130"
echo " ydbinstall.sh --gtm # installs latest GT.M version (V6.3-008) at /usr/local/lib/fis-gtm/V6.3-008_x86_64"
echo "Example usages are (assumes latest YottaDB release is r1.32 and latest GT.M version is V6.3-010)"
echo " ydbinstall.sh # installs latest YottaDB release (r1.32) at /usr/local/lib/yottadb/r132"
echo " ydbinstall.sh --utf8 default # installs YottaDB release r1.32 with added support for UTF-8"
echo " ydbinstall.sh --installdir /r132 r1.32 # installs YottaDB r1.32 at /r132"
echo " ydbinstall.sh --gtm # installs latest GT.M version (V6.3-010) at /usr/local/lib/fis-gtm/V6.3-010_x86_64"
echo ""
exit 1
}
Expand Down

0 comments on commit 3aec557

Please sign in to comment.