search for: defaultvalue

Displaying 20 results from an estimated 31 matches for "defaultvalue".

2006 Jan 19
3
problems with migrations in sql server
...SQL:BatchCompleted select * from CREATE TABLE schema_info (version int) 54 SQL:BatchCompleted CREATE TABLE schema_info (version int) 54 SQL:BatchCompleted select * from CREATE TABLE schema_info (version int) 54 SQL:BatchCompleted SELECT COLUMN_NAME as ColName, COLUMN_DEFAULT as DefaultValue, DATA_TYPE as ColType, COL_LENGTH(''schema_info'', COLUMN_NAME) as Length, COLUMNPROPERTY(OBJECT_ID(''schema_info''), COLUMN_NAME, ''IsIdentity'') as IsIdentity, NUMERIC_SCALE as Scale FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = ''schem...
2008 Jun 06
2
[LLVMdev] Adding DenseMap::FindAndConstruct with a default value
> Assuming the default value is not a valid entry in your map (for instance, > if you're using pointers), you can do: > > Foo& entry = DenseMap[Key] > if (entry == DefaultValue) > entry = constructNewValue(); The problem here is that the DefaultValue is undefined. However, Chris suggested that the default value, ValueT(), is not undefined but simply zero. However, on IRC someone was quite positive that it would become undefined. Anyone that knows for sure (preferably...
2005 Nov 24
1
Log question
...ot;", "description"=>"CIA flight...", "flightdate(1i)"=>"2005", "flightdate(2i)"=>"11", "flightdate(3i)"=>"24"}} [4;35;1mReport Columns (0.070000) SELECT COLUMN_NAME as ColName, COLUMN_DEFAULT as DefaultValue, DATA_TYPE as ColType, COL_LENGTH(''reports'', COLUMN_NAME) as Length, COLUMNPROPERTY(OBJECT_ID(''reports''), COLUMN_NAME, ''IsIdentity'') as IsIdentity, NUMERIC_SCALE as Scale FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = ''reports...
2008 Jun 05
0
[LLVMdev] Adding DenseMap::FindAndConstruct with a default value
Assuming the default value is not a valid entry in your map (for instance, if you're using pointers), you can do: Foo& entry = DenseMap[Key] if (entry == DefaultValue) entry = constructNewValue(); ... // Use entry --Owen On Jun 5, 2008, at 7:49 AM, Matthijs Kooijman wrote: > Hi All, > > I've been fiddling around with a DenseMap to store cached copies of > some > result. In short, I'm doing the following: > > It = Map.find(Key...
2008 Jun 05
4
[LLVMdev] Adding DenseMap::FindAndConstruct with a default value
Hi All, I've been fiddling around with a DenseMap to store cached copies of some result. In short, I'm doing the following: It = Map.find(Key) if (It != Map.end() && It->second != Unknown) Return It->second; // do_stuff return Map[Key] = Result; However, I this requires two lookups in the hash table, which is not so nice. Currently, there is no way to write this down so
2006 Aug 15
1
rails and MSSQL transactions
...DBI::DatabaseError: Execute OLE error code:80004005 in Microsoft OLE DB Provider for SQL Server Cannot create new connection because in manual or distributed transaction mode. HRESULT error code:0x80020009 Exception occurred.: SELECT COLUMN_NAME as ColName, COLUMN_DEFAULT as DefaultValue, DATA_TYPE as ColType, COL_LENGTH(''S_RESIT I''ve tried using transactions in rails but to no avail, if I have 10 windows open and refresh all at once, several windows will produce that error. MS suggests (http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B272358): Use...
2008 Jun 06
0
[LLVMdev] Adding DenseMap::FindAndConstruct with a default value
On Fri, Jun 6, 2008 at 12:27 AM, Matthijs Kooijman <matthijs at stdin.nl> wrote: >> Assuming the default value is not a valid entry in your map (for instance, >> if you're using pointers), you can do: >> >> Foo& entry = DenseMap[Key] >> if (entry == DefaultValue) >> entry = constructNewValue(); > The problem here is that the DefaultValue is undefined. However, Chris > suggested that the default value, ValueT(), is not undefined but simply zero. This is correct; from the standard: "The expression T(), where T is a simple-type-specifi...
2014 Mar 21
0
Wine release 1.7.15
...ly but crashes when started 35762 Tic Tac Toe Game (vbscript) cannot be played (parenthesis syntax for specifying arrays as function arguments) 35769 Target attributes is ignored when submitting form 35778 Samsung Magician v4.0 fails to install (widl emits incorrect var type for IDispatch* defaultvalue) 35794 iTunes 7 installer aborts early (failure to find builtin 'RegExp' class) 35799 Mortal Online (MMORPG) client 1.75.00.07 crashes on login (missing Win32_LogicalDisk WMI class 'VolumeSerialNumber' property) 35803 Chessmaster Grandmaster Polish Edition installer crashes...
2004 Aug 06
1
Newbie-Question
Hi I think I mangaed to install icecast and ices correctly, but I've got trouble starting it. Starting icecast as root gives me Should not start as root, use changeowner directives Okay, so I changed the defaultvalues for changeowner to another user on this machine. But now I get this error: Changed userid to 501 (I thin thats okay) changed groupid to 100 (ok, too) FATAL: could not open error loggin FATAL: could not open access loggin FATAL: could not start logging Is there a short documentation anywhere which...
2005 Jul 18
0
current status of xen DRI support
I was hoping someone might be able to tell me the current status of direct rendering support? Is it possible to run Xen on a machine and have X DRI (Direct Rendering) work in at least one of the domains? Thanks -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2011 Jan 29
2
Cooperating with dovecot in its Maildir
...ications notmuch makes are to change maildir flags. Would locking dovecot-uidlist.lock be sufficient, perhaps via liblockfile? Also, is there some reliable way to detect a dovecot Maildir? For example, are any of the dovecot-* files guaranteed to exist all the time? Thanks -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
2006 Feb 21
0
safe_strcpy problem in Samba 3.0.10
...t;zfl04.log.3: ERROR: string overflow by 1 (24 - 23) in safe_strcpy [organisation#rektorat#vrlehre#qe-eval]" I found a reported bug producing this output within older Samba versions than 3.0.4 . But we use version 3.0.10 and no mangling method set within smb.conf . Therefore it should be the defaultvalue hash2 which doesn't have this flaw. Could anyone give me a hint? Thanks, Thomas -- ***************************************************************** * Thomas Widhalm Unix Administrator * * University of Salzburg ITServices (ITS) * * Systems...
2006 Sep 25
0
Newbie: Proper way to set default text_field form value ?
...: <% if @product.cost %> <%= text_field ''product'', ''cost'', :size => 5 %> <% else %> <%= text_field ''product'', ''cost'', :size => 5, :value => 0 %> <% end %> I couldn''t find a :defaultvalue or similar hash parameter and not sure how I''d add an "if not nil" statement to the form helper. If there''s proper way to do this I''d be interested to learn. Thanks, DAN -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------...
2006 Apr 17
1
Form.Serialize - Method''s for limiting form data?
I have some ideas how to go about this, but wanted to see if people already had solutions in place for this. The basic scenario is i''m sending form data over ajax using form.serialize to send the form data (as per the standard methodology). However, on some pages i have very large forms (few thousand form fields - its a simulated editable grid), and I only want to send the data in
2008 Mar 14
15
Is anyone running Rails 2.x against a MS SQL Server DB?
I am unable to get ActiveRecord session support to work under 2.x against a SQL Server database. I''m starting to wonder if anyone is running 2.x against SQL Server? Is anyone running under the following configuration: Rails 2.x SQL Server 2000 DB (using AR adapter in ODBC mode) AR store for ActionController session store. I''d like to chat with you if you are. Thanks, Wes --
2006 Jul 31
4
Login Password text field values
I have a text field that I use for logging in users. Due to the design of my site, I don''t have room to put the word "username" in front of the text field so I''d like to actually display it inside the field and then have the word clear when the user clicks on it. How could I modify something like this <%= text_field "user", "login", :size
2003 Jan 05
2
restricting rsync over ssh on the server side.
...l, but I haven't managed to think of a way to implement a common solution. Also, I could imagine that this solution for rsync might be somewhat difficult to implement (perhaps complicated by symlinks, etc.), but it's the best thing I've thought of so far. Thanks -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
2006 Mar 07
2
ipw can not work in adhoc mode
...t;input type="hidden" name="source" value="www" /><input id="words" name="words" type="text" size="20" maxlength="255" onfocus="if( this.value==this.defaultValue ) this.value='';" value="Search" />&nbsp;<input id="submit" name="submit" type="submit" value="Search" /> </div> </form> &...
2015 Dec 04
0
Wine release 1.8-rc3
...Yang (1): po: Update Simplified Chinese translation. Bruno Jesus (2): msacm32/tests: Add more acmStreamPrepareHeader tests. krnl386.exe16: Skip invalid entries in GetPrivateProfileString16. Dmitry Timoshkov (6): oleaut32: Simplify 'for' loop. widl: Fixup the defaultvalue(BSTR) expression type like midl does. winhttp/tests: Accept Windows7 return value for WinHttpQueryOption(WINHTTP_OPTION_CONNECTION_INFO). winhttp/tests: For a secure connection check what WinHttpQueryDataAvailable() returns as well as first chunk of actual data. winhttp/tests: Add...
2007 Nov 08
3
Downloading a file into a directory that does not exist
Hello again, all: When downloading a file from the puppetmaster''s fileserver, like so: ==========SNIP========== define install_file ($mode = 0644, $owner = ''root'', $group = ''root'') { file { "${name}": source => [ "puppet://${puppetserver}/dist/files/${name}_${operatingsystem}",