search for: bigint

Displaying 20 results from an estimated 103 matches for "bigint".

2014 Apr 01
3
trouble installing Math::BigInt module
...A not loading correctly on the new machine. On the old one, the line: perl -e "use Net::SSH::Perl::Key::DSA;" gives no error and no output (as expected), but on the new machine, the same line gives: www:/var/www/html/circumventor# perl -e "use Net::SSH::Perl::Key::DSA;" Math::BigInt version 1.78 required--this is only version 1.77 at /usr/lib/perl5/vendor_perl/5.8.8/Crypt/DSA/KeyChain.pm line 4. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Crypt/DSA/KeyChain.pm line 4. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/Crypt/DSA.pm li...
2009 May 27
2
problem with centos upgrade
...ry to do u yum ugrade or yum update it gives me lots of perl errors and it terminates OS is centos 5 (final) the part of errors reported --------------------------------- file /usr/lib/perl5/5.8.8/Math/BigFloat.pm from install of perl-5.8.8-18.el5_3.1 conflicts with file from package perl-Math-BigInt-1.86-1 file /usr/lib/perl5/5.8.8/Math/BigInt.pm from install of perl-5.8.8-18.el5_3.1 conflicts with file from package perl-Math-BigInt-1.86-1 file /usr/lib/perl5/5.8.8/Math/BigInt/Calc.pm from install of perl-5.8.8-18.el5_3.1 conflicts with file from package perl-Math-BigInt-1.86-1 file /usr...
2009 Jan 30
5
Yum update conflicts perl-Math-BigInt
I followed the Wiki instructions for setting up *yum-priorities*. I added the rpmforge repo I installed clamd without a problem. Now when I go to update I get conflicts with perl-Math-BigInt. Is the only solution to uninstall the base version and then install the rpmforge version? According the the wiki "Packages from repositories with a lower priority will never be used to upgrade packages that were installed from a repository with a higher priority." If this true why th...
2007 Oct 05
3
Do migration support MySQL BIGINT
hi, just wondering do migration support MySQL BIGINT ? what if i wanna create a migration with BIGINT ? should i use SQL directly ? kiwi -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To...
2006 Feb 24
9
Growing beyond unsigned integer for the id field
I am creating an app that will out grow an int(10) unsigned for the id field, ie. 4,294,967,295 records. What are my options, I have looked at the GUID plugin that lets you use a 32 char GUID, but I still want the id''s to be sequential, and (I think) that the overhead of searching a varchar field will be too big for such a large number of records. It does not appear you can use a
2008 Nov 28
0
Passing bigint (8-byte) values from Postgres to R using RPostgreSQL
Hi - I have a simple R script that inserts values into a Postgres table to generate a record that autogenerates a bigint unique ID (basically, a customized bigserial value). When I query the table to retrieve the bigint value, the value returned is not the same as the value created in the database (as evidenced by a direct query of the database table via pgAdmin). e.g. the value created should be an 8-byte integer...
2011 Jul 27
2
RODBC sqlSave problem with bigint numbers
...me, append=T, rownames=FALSE, colnames=FALSE, fast=FALSE, varTypes=vartypes) where data_df is the data.frame I want to save and vartypes is obtained following the tip given here http://r.789695.n4.nabble.com/some-helpful-tips-on-using-RODBC-td2324503.html Useful Tips for RODBC Two columns have a bigint unsigned type. The first contains numbers with 11 figures (like 20015301001) The second colums has numbers with 13 figures (like 2002000103651) First column are well saved in the database but, even with the same type, numbers of the second one are truncated (this was not observed with RMySQL packa...
2013 Jun 21
1
How to create Migration from Mysql DB with bigint type of Mysql
I have to create Migration file form Mysql DB But I want type of Migration equivalent with Mysql DB (example : in Mysql with type Bigint and in Migration will have type Int(20) or Bigint) Could You help me solve this Problem? Thanks -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop r...
2005 Jul 04
1
RMySQL typing Problem (bigint unsigned)
Dear Group, if anyone has experience with the RMySQL Package maybe this behaviour is know: Reading data from a table into R the fields with datatype bigint(20) unsigned are transformed in some way: e.g. the query "select * from orders where userid = 14929859848712890325" selects the correct case but in R the userid is changed to 14929859848712890368. What happened here? This transformation is true for all fields of that type... Thank You...
2006 Aug 02
2
mangle ActiveRecord
...I figured module ActiveRecord::ConnectionAdapters::SchemaStatements def create_table(name, options={}) table_definition = TableDefinition.new(self) table_definition.primary_key(options[:primary_key] || "id") unless options[:id] == false table_definition.column(:obj , :bigint ) unless options[:obj] == false table_definition.column(:session_id, :bigint ) unless options[:session] == false table_definition.column(:created_at, :datetime) unless options[:timestamp] == false table_definition.column(:key_id, :bigint ) unless options[:key] == fa...
2006 Apr 30
4
Migration, BigInts, and string lengths
Howdy Y''all, I was thrilled to recently discover migrations, as that framework addresses a common problem in an elegant way. I have, however, gotten tripped up a bit as I''ve worked with them. The first problem I encountered was that, though I was using a BigInt data type in a field in my dev database, my unit tests were failing because when I copied the schema from the dev to the testing DB, it was copied as a plain int. This caused the large values in my unit tests to fail. I understand why the Migration framework doesn''t support this, sinc...
2006 Feb 27
0
BIGINT IDs in migrations
Hi, Is there a way to tell to the migrations to use bigint(20) instead of int(11) for ids? Thanks, Fuad. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060227/0896c124/attachment.html
2009 Mar 07
0
Be careful of BIGINT primary key fields in MySQL. Will cause problems with ActiveRecord create (but not find)
The MySQL/Ruby library doesn''t properly handle inserts into tables with the primary key being a BIGINT If the ID returned to the MySQL/Ruby library is LARGER than the INT range, the value is returned to Ruby truncated and incorrect. This is then passed up to ActiveRecord and into the id field of your model. The actual INSERT worked properly and when do you an ActiveRecord find for the object, it wi...
2006 Feb 27
1
Copying many sources to different places inside a destination
...Is there a way to get rsync to collect many sources in one pass to destination locations more flexible than those that --relative will allow me? For example, suppose I want to copy sources something like this: ~/main-web-content/ -> ~/www/ ~/logicdes/ -> ~/www/logicdes/ ~/bigint/svn-repo/ -> ~/www/bigint-svn/ ~/vectors/vectors.tex -> ~/www/math/vectors.tex ~/mirror/mirror-latest/ -> ~/www/mirror/bin/ and so forth. All the sources go different places inside ~/www and together make up everything I want in ~/www, so I would like the ability to...
2012 Aug 10
2
postfix mysql quota map to dovecot dict in mysql
currently dovecot dict is CREATE TABLE IF NOT EXISTS `quota` ( `username` varchar(100) COLLATE latin1_general_ci NOT NULL, `bytes` bigint(20) NOT NULL DEFAULT '0', `messages` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`username`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; there is not field that says how much quota each user have, so one cant make a query on how much its left pr user h...
2013 Aug 29
0
Big Integer Support in JSON-to-R Conversion
...converting a JSON string in R (with either the package 'rjson' or 'RJSONIO') when big integers are included in the JSON string. A simple example of the problem is: > options(scipen=999) # To prevent representing the answer in scientific notation > json.str <- '{"bigInt":123456789123456789}' # Sample JSON string with big integer Using the RJSONIO package: > fromJSON(json.str) # From package 'RJSONIO' bigInt 123456789123456784 Using the rjson package: > fromJSON(json.str) # From package 'rjson' $bigInt [1] 12345678912...
2009 Jan 19
0
Reject message if user is over quota. 2/3 solution for Postfix w/ PostgreSQL
...9;%u', '%d', 10485760, 1000) # quota limit in bytes ----------------------------^ # quota limit in messages -----------------------------------^ SQL: CREATE OR REPLACE FUNCTION postfix_global_quota_check( IN localpart varchar, IN the_domain varchar, IN q_stor bigint, IN q_msgs bigint) RETURNS TEXT AS $$ DECLARE result text := 'DUNNO'; -- remove extenstion from localpart (user+foo -> user) lpart varchar := (SELECT regexp_replace(localpart, E'\\+.*$', '')); -- XXX how to handle alias addresses?...
2013 Jul 03
2
[Bug 9995] New: Rsync 3.1 dev :
...ysql query in db.c file do not work. CREATE TABLE disk ( disk_id integer unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT, host varchar(256) NOT NULL default 'localhost', mount_uniq varchar(256) default NULL, devno bigint unsigned NOT NULL, last_seen bigint NOT NULL, UNIQUE KEY mount_lookup (host, mount_uniq), KEY dev_lookup (devno, host) ) I have tested it inside Mysql : MariaDB [rsync]> CREATE TABLE disk (disk_id integer unsigned NOT...
2009 Mar 26
1
[LLVMdev] LLVM and GMP
someguy wrote: > Oh. One more thing: > > Paulo, while your working out how to do what Chris said (making usage > of bigints into library calls), wouldn't it just warm your heart to > document the process on the wiki? > > </wiki pimping> > > On Wed, Mar 25, 2009 at 9:16 AM, someguy > <just.s0m3.guy+llvmdev at gmail.com> wrote: > >> Oh. I see. That way the bigints don't n...
2009 Mar 25
2
[LLVMdev] LLVM and GMP
On Mar 24, 2009, at 11:20 PM, someguy wrote: > I could be wrong, but I think that you may need to add a 'big-integer' > intrinsic type to llvm. No, please don't. GMP is just another library like libc, your front- end should just generate calls into it like any other library. This is similar to how we handle threading and many other "language features". -Chris