| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Королев Илья | Date: | October 17 2006 10:26am |
| Subject: | Re: Problems with timestamp | ||
| View as plain text | |||
В сообщении от 17 октября 2006 14:12 Warren Young написал(a): > Королев Илья wrote: > >> Search custom.pl for MYSQLPP_NO_STATIC, or see the way this feature is > >> tested in examples/util.cpp. > > > > I guess, in such case I can't use field_list() function? Beside, > > field_list() use names[], but in my patch there are no names[] at all. > > I think you misunderstand the feature. You #include custom.h normally > within one module, and #define MYSQLPP_NO_STATIC before including it > again in other modules. This ensures that the static members are > defined only once, thus avoiding the problems of multiply defined static > data members. Thanks. I am really misunderstood. But it seems to me, that using *.h in such way isn't very comfortable. Why we can't just drop away static names[] ( and table)? The only advantage IMHO is that we can change names[](table) on the fly. Are there any other tricks?
| Thread | ||
|---|---|---|
| • Problems with timestamp | Королев Илья | 16 Oct |
| • Re: Problems with timestamp | Warren Young | 17 Oct |
| • Re: Problems with timestamp | Королев Илья | 17 Oct |
| • Re: Problems with timestamp | Warren Young | 17 Oct |
| • Re: Problems with timestamp | Королев Илья | 17 Oct |
| • Re: Problems with timestamp | Warren Young | 17 Oct |
| • Re: Problems with timestamp | Королев Илья | 17 Oct |
| • Re: Problems with timestamp | Warren Young | 17 Oct |
| • Re: Problems with timestamp | Королев Илья | 17 Oct |
| • Re: Problems with timestamp | Warren Young | 18 Oct |
| • Re: Problems with timestamp | Королев Илья | 18 Oct |
| • Re: Problems with timestamp | Warren Young | 18 Oct |
| • Re: Problems with timestamp | Королев Илья | 24 Oct |
| • Re: Problems with timestamp | Warren Young | 24 Oct |
| • Re: Problems with timestamp | Королев Илья | 25 Oct |
| • Re: Problems with timestamp | Warren Young | 25 Oct |
| • Re: Problems with timestamp | Королев Илья | 20 Nov |
| • Re: Problems with timestamp | Warren Young | 20 Nov |
