|
From: Jeffrey Z. <Jef...@q-...> - 2009-08-28 13:16:03
|
I would like to execute "reorg rebuild" on the server. Whenever I do
this, python-sybase throws a Sybase.DatabaseError exception as shown
here:
Traceback (most recent call last):
File
"/home/jeffreyz/workspace-3.5/sybase-tests/src/connection_tests.py",
line 41, in <module>
cursor.execute('reorg rebuild Client')
File "build/bdist.linux-i686/egg/Sybase.py", line 546, in execute
File "build/bdist.linux-i686/egg/Sybase.py", line 695, in _start
File "build/bdist.linux-i686/egg/Sybase.py", line 709, in _mainloop
File "build/bdist.linux-i686/egg/Sybase.py", line 753, in _raise_error
Sybase.DatabaseError: Msg 11932, Level 10, State 1, Line 1
Beginning REORG REBUILD of table 'Client'.
Msg 1918, Level 10, State 1, Line 1
Non-clustered index (index id = 2) is being rebuilt.
Does anyone know how this can be avoided?
I have just patched python-sybase to use ASE 15.x capabilities (to allow
identifiers longer than 30 characters). However, I still throw the
Sybase.DatabaseError exception shown above when executing "reorg
rebuild".
The same exception was also thrown _before_ I patched python-sybase to
use ASE 15.x capabilities.
Does anyone know if this exception can be avoided somehow? Thanks in
advance.
Regards,
Jeffrey
|