06 Sep 2009, Exaos Lee, Bug Report, Delete key "/A_Str" problem  
 | 
Another problem while using odbedit.
 
I tried the batch mode of "odbedit". I created a key as "/A_Str" by mistake and 
 
wanted to delete it. Then "odbedit" failed to accept the "Return" key. Please see 
 | 
   
   06 Sep 2009, Exaos Lee, Suggestion, Could not create strings other than 32 characters with odbedit -c "..." command 
 | 
> Ok, I added a command
 
> 
 
> odbedit -c "create STRING Test[8][40]"
 | 
   06 Sep 2009, Exaos Lee, Bug Report, Compiling error of "src/history_odbc.cxx"  
 | 
Version svn-r4556, I got a compiling error as below:
 
 
[CODE]
 | 
   
   06 Sep 2009, Exaos Lee, Bug Report, Compiling error of "src/history_odbc.cxx" 
 | 
[quote="Exaos Lee"]Version svn-r4556, I got a compiling error as below:
 
The detail error log is attached. I used my CMake script without any optimization flags. I will try the default Makefile again.[/quote]
 
 | 
   
   06 Sep 2009, Exaos Lee, Bug Fix, Maybe a fix  
 | 
Changing "SQLINTEGER" to "SQLLEN" maybe let the compiling pass. See the attached diff.
 
 
But I failed in another error. It was the problem in CMakeLists.txt. (FIXED) | 
   
   06 Sep 2009, Exaos Lee, Suggestion, Updated "CMakeLists.txt"  
 | 
| Add installation commands. Please see the attachment. | 
   
   06 Sep 2009, Exaos Lee, Bug Report, Delete key "/A_Str" problem 
 | 
> Another problem while using odbedit.
 
> I tried the batch mode of "odbedit". I created a key as "/A_Str" by mistake and 
 
> wanted to delete it. Then "odbedit" failed to accept the "Return" key. Please see 
 | 
   
   06 Sep 2009, Exaos Lee, Suggestion, Could not create strings other than 32 characters with odbedit -c "..." command 
 | 
> > Ok, I added a command
 
> > 
 
> > odbedit -c "create STRING Test[8][40]"
 | 
   07 Sep 2009, Exaos Lee, Forum, deprecated conversion from string constant to ‘char*’  
 | 
I encountered many warning while building MIDAS (svn r4556). Please see the
 
attached log file. Most of them are caused by type conversion from string to
 
"char*".
 | 
   
   27 Sep 2009, Exaos Lee, Forum, deprecated conversion from string constant to ‘char*’ 
 | 
> There is no "type conversions". The compiler is whining about code like this:
 
> 
 
> /* data type names */
 | 
   29 Sep 2009, Exaos Lee, Bug Report, Error invoking 'odbedit': db_validate_size 
 | 
Revision: r4567
 
Error output:
 
[CODE]
 | 
   
   29 Sep 2009, Exaos Lee, Bug Report, Error invoking 'odbedit': db_validate_size 
 | 
It seems to be fixed in svn-r4568:
 
[CODE]
 
-----------------------------------------------------------------------
 | 
   08 Oct 2009, Exaos Lee, Bug Report, Multiple definition of `SqlODBC::SqlODBC() 
 | 
I found there are two SqlODBC defined in different sources.
 
[CODE]
 
$ grep -n "class SqlODBC" src/*
 | 
   09 Oct 2009, Exaos Lee, Bug Report, Building error of history_midas.cxx due to missing declaration  
 | 
[CODE]
 
Platform: Debian Linux testing
 
Compiler: gcc 4.3.4 (Debian 4.3.4-2)
 | 
   15 Oct 2009, Exaos Lee, Suggestion, Building MIDAS using CMake  
 | 
The attached zip file is the updated configurations for building MIDAS using CMake. It works with svn-r4604.
 
If you want to use it, please follow the steps here:
 
[QUOTE]
 | 
   
   19 Oct 2009, Exaos Lee, Forum, It' better to fix this warnings 
 | 
> There is no "type conversions". The compiler is whining about code like this:
 
> 
 
> /* data type names */
 | 
   
   02 Nov 2009, Exaos Lee, Bug Fix, Build error due to missing header  
 | 
I encountered a build error as "sort undefined...". It is caused by missing C++ header <algorithm> in which "sort" is defined. It can be fixed as the attachment.
 
 
Environment:
 | 
   
   02 Nov 2009, Exaos Lee, Suggestion, New cmake files  
 | 
Though ended with ".c", "lazylogger.c" has to be build with C++ compiler. I have 
 
to modify my CMakeLists.txt. 
 
Please see the attachment if you need it. It works with svn-r4616. | 
   23 Nov 2009, Exaos Lee, Suggestion, Scripts for "midas-config"   
 | 
Supposing you have installed MIDAS to some directory such as "/opt/MIDAS/r4621", you have to write some Makefile as the following while building some applications 
based on the version installed:
 
[quote][code]
 | 
   08 Apr 2010, Exaos Lee, Forum, How to stop a run with a timer? 
 | 
I want to let the run stop and start periodically. But I looked through the ODB
 
and didn't find anything may help. I also checked the FAQ online and didn't find
 
answer either. Who can help me? Thank you. |