> as far as i know, the endian typ on HP UX is big endian and
> on Linux it's little endian. Because of that a backup/restore
> copy from Windows to linux and vice versa is allowed, but
> from Linux to HPUX the endian type is different and therefore
> not allowed. Check SAP note 129352. You should copy your
> sapdb system with the migration tools. The handling of the
> endian typ on itanium is really funny. It depends on the os.
I know this note...
This program prints "big endian" on both HP-UX IA64 and LINUX_64:
2 int
3 main(int argc, char **argv)
4 {
5 union {
6 short s;
7 char c[sizeof(short)];
8 } un;
9 un.s = 0x0102;
10 printf("%s: ", CPU_VENDOR_OS);
11 if (sizeof(short) == 2) {
12 if (un.c[0] == 1 && un.c[1] == 2)
13 printf("big-endian\n");
14 else if (un.c[0] == 2 && un.c[1] == 1)
15 printf("little-endian\n");
16 else
17 printf("unknown\n");
18 } else
19 printf("sizeof(short) = %d\n", sizeof(short));
20 exit(0);
21 }
So I don't quite get issue..
Greetz,
SIEGENIA-AUBI KG
Informationswesen
i.A.
Markus D�hr
SAP-CC/BC, SAPDB-DBA
Tel.: +49 6503 917-152
Fax: +49 6503 917-7152
E-Mail: [EMAIL PROTECTED]
Internet: http://www.siegenia-aubi.com
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]